Page is a not externally linkable
lucy24 - 8:53 pm on Jan 2, 2013 (gmt 0)
the back references ($1, $2 etc.) would change
Back references look at definitions, not captures. So
(stuff)?(morestuff)?(stillmorestuff)?
should always come through as $1$2$3 even if the content of some captures is null. The tricky part in this one was nesting:
(?:blah-(capture))?(?:-moreblah-(morecapture))?
and so on.