Commit a7eca45f authored by Jelte Jansen's avatar Jelte Jansen

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
parent dca5b510
......@@ -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 +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment