I've never seen it documented, but what would it mean if they were interpolated as back references?
By which I mean, if the back reference in question captured two or more characters, would that mean required the character class to match any one of those characters?
I think that the problem would be that character classes are compiled before the regex begins to run. Ie. before the capture has taken place.
In reply to Re: \1, \2, \3, ... inside of a character class
by BrowserUk
in thread \1, \2, \3, ... inside of a character class
by ccn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |