in reply to Re: Re: Regex backreference problem.
in thread Regex backreference problem.
Because character classes are determined when the regex is compiled (which is different than when the Perl statement that contains the regex is compiled). There is no regex 'node' for "character class that consists of these hard-coded characters plus the characters in this backreference". The only character class regex node type is "hard-coded list of characters" that was built when the regex was compiled (not after it ran part way and figured out what $1 might end up being).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^3: Regex backreference problem. (compile-time)
by BrowserUk (Patriarch) on Oct 10, 2003 at 07:28 UTC |