This is most definately not the same...

\w is equivalent to [A-Za-z0-9_]

there's a basic regexp tutorial here:
http://japh.nu/index.cgi?base=regexes

it also deals with (custom made) character classes, special symbols in
regexps etc,
maybe it's beneficial to you.

regards,
Jos Boumans

<snip>
 Also, [a-zA-Z] can be replaced with \w, which does the same thing.

So, you have

$name =~ /^\w+$/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to