in reply to Re: Re: Re: Re: Re: Checking input
in thread Checking input
That demonstrates that the '\' character is not escaping anything and is infact, just being added to the character class as another potential match which is completely against the spirit of the code. In fact, writing the backslash in might lead some one (like you) to think that it was escaping the next thing when in this case it escaped nothing and is itself. If the slash worked like you expected it to both lines would read like (?:-xism:[\w-]).
Seeking Green geeks in Minnesota
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^5: Checking input
by Nkuvu (Priest) on Feb 25, 2003 at 23:23 UTC | |
by diotalevi (Canon) on Feb 25, 2003 at 23:46 UTC | |
by Nkuvu (Priest) on Feb 25, 2003 at 23:57 UTC |