[ https://issues.apache.org/jira/browse/XERCESJ-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737625#action_12737625 ]
Radu Preotiuc-Pietro commented on XERCESJ-1388: ----------------------------------------------- I am referring to 2.9.1, not to the svn head. Oh, the difference between bug and unimplemented feature... On the one hand, I couldn't be sure that the regex is not a simplification and on the other, the "Differences from Perl 5" does not mention this. But yeah, if this is an unimplemented feature, my request would be to have it implemented and it's good to hear that there is work being done on it. > RegEx matching: when computing backreferences, "\dd" must match group "dd" if > group exists > ------------------------------------------------------------------------------------------ > > Key: XERCESJ-1388 > URL: https://issues.apache.org/jira/browse/XERCESJ-1388 > Project: Xerces2-J > Issue Type: Bug > Components: Other > Affects Versions: 2.9.1 > Reporter: Radu Preotiuc-Pietro > > When dealing with back-references to groups >= 10, "\" followed by more than > one digit must match the largest number, smaller than the total number of > groups, that can be constructed by dropping digits from the right. > So, for instance, \11 must match the 11th capturing group of the expression > "^ (#)(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)\11", because there are 11 capturing > groups; it must not match the first capturing group ant then the digit "1". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org