in reply to Re: Re: Re: Re: Checking input
in thread Checking input
I'm not escaping the hyphen because it is a range, I am suggesting escaping it for a clearer regex. Or re-ordering the entries within the character class.
Usage is buggy? How so? perl -e 'print join "\n", qr/[\w\-]/,qr/[\w-]/,""' prints
on my system. That explains nothing to me.(?-xism:[\w\-]) (?-xism:[\w-])
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Checking input
by diotalevi (Canon) on Feb 25, 2003 at 21:55 UTC | |
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 |