paulk-asert opened a new pull request, #3237: URL: https://github.com/apache/groovy/pull/3237
The named-group check scanned the regex text for (?<name> openers, which missed names spelled with COMMENTS-mode whitespace or comments and counted openers in quoted text or character classes. Decide by compiling the regex with a named backreference appended, which the JDK rejects exactly when the group is undefined; a name that is not a legal group name is rejected first. The scan now only lists names for the message, each confirmed the same way. Matcher.start and Matcher.end are checked like group. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
