in reply to Re: Regex backreference problem.
in thread Regex backreference problem.
Yes. I'd kinda worked that out, and the lookahead assertion works ok, but I was really asking why don't they work in character classes? I mean there ae plenty of other ways of denoting a character, even the non-printable ones:
chr(0) => \cA, \01 \x01
It seems a shame to have to use a lookahead assertion and (.) to ([^\1])... and I was wondering if there was any reason other than "that's the way it is"?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex backreference problem. (compile-time)
by tye (Sage) on Oct 10, 2003 at 06:57 UTC | |
by BrowserUk (Patriarch) on Oct 10, 2003 at 07:28 UTC | |
|
Re: Re: Re: Regex backreference problem.
by bart (Canon) on Oct 10, 2003 at 21:54 UTC |