Capturing subexpression numbering example

4 views
Skip to first unread message

Aaron Sherman

unread,
Oct 10, 2006, 5:42:21 PM10/10/06
to p6l
The example in S05 under "Subpattern numbering" isn't quite complex
enough to give the reader a full understanding of the ramifications of
the re-numbering that occurs with alternations, especially with respect
to the combination of capturing and non-capturing subpatterns. I've
written a small example and explanation to address this (attached as
diff) based on an IRC conversation with fglock. If it's deemed correct,
could this be included, please?
Rule.pod.supcount-example.diff
Reply all
Reply to author
Forward
0 new messages