mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
regex that matches arg_name=value pairs in bigtool input did not include / character
do we need more that are not part of \w? git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@481 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
@@ -6,8 +6,8 @@ except ImportError:
|
||||
from mycollections import OrderedDict
|
||||
|
||||
param_name_str = "^\s*(?P<param_name>[\w]+)\s*=\s*"
|
||||
param_value_str = "(?P<param_value>[\w\.]+)"
|
||||
param_value_with_quota_str = "[\"\'](?P<param_value>[\w\., ]+)[\"\']"
|
||||
param_value_str = "(?P<param_value>[\w\./]+)"
|
||||
param_value_with_quota_str = "[\"\'](?P<param_value>[\w\., /]+)[\"\']"
|
||||
next_params_str = "(?P<blank>\s*)(?P<comma>,?)(?P<next_params>.*)$"
|
||||
|
||||
PARAM_WITH_QUOTA_PATTERN = re.compile(param_name_str +
|
||||
|
Reference in New Issue
Block a user