A
Ant
Look at the following minimal example:
('Test', 'String')
I would have expected this to produce:
('String')
since
?...) should be a non-capturing group. From the module
reference:
(?:...)
A non-grouping version of regular parentheses. Matches whatever
regular expression is inside the parentheses, but the substring matched
by the group cannot be retrieved after performing a match or referenced
later in the pattern.
('Test', 'String')
I would have expected this to produce:
('String')
since
reference:
(?:...)
A non-grouping version of regular parentheses. Matches whatever
regular expression is inside the parentheses, but the substring matched
by the group cannot be retrieved after performing a match or referenced
later in the pattern.