File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -618,7 +618,8 @@ class RawConfigParser(MutableMapping):
618618 _OPT_TMPL = r"""
619619 (?P<option> # very permissive!
620620 (?:(?!{delim})\S)* # non-delimiter non-whitespace
621- (?:(?:(?!{delim})\s)+(?:(?!{delim})\S)+)*) # optionally more words
621+ (?:(?:(?!{delim})\s)+ # optionally more
622+ (?:(?!{delim})\S)+)*) # space-separated words
622623 \s*(?P<vi>{delim})\s* # any number of space/tab,
623624 # followed by any of the
624625 # allowed delimiters,
@@ -628,7 +629,8 @@ class RawConfigParser(MutableMapping):
628629 _OPT_NV_TMPL = r"""
629630 (?P<option> # very permissive!
630631 (?:(?!{delim})\S)* # non-delimiter non-whitespace
631- (?:(?:(?!{delim})\s)+(?:(?!{delim})\S)+)*) # optionally more words
632+ (?:(?:(?!{delim})\s)+ # optionally more
633+ (?:(?!{delim})\S)+)*) # space-separated words
632634 \s*(?: # any number of space/tab,
633635 (?P<vi>{delim})\s* # optionally followed by
634636 # any of the allowed
You can’t perform that action at this time.
0 commit comments