in reply to Re: Re: Checking input
in thread Checking input
It looks to me like the character class is the beginning of a range (the [\w-] bit). I know it isn't, and I know Perl has no problems with this (I just ran a test script to verify that).
But wouldn't it be a little clearer to write the character class as either [-\w] or [\w\-] ? This is really just a formatting question more than anything else.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Checking input
by diotalevi (Canon) on Feb 25, 2003 at 17:45 UTC | |
by Nkuvu (Priest) on Feb 25, 2003 at 20:55 UTC | |
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 | |
|