Howdy,

perldoc perlre on 5.8.0 says that [:ascii:] should match any ascii character and 
[:^ascii:] is the negate version.

If I do =~m/[:^ascii:]/ or [:ascii:] on astring that is 'hi' it returns true each way, 
so I believe it says the [] are part of [::] conbstruct which I think means you have 
to have[[:class:]]

Now [^[:ascii:]] and [[:ascii:]] behave as you'd expect so I think that's all correct 
( Please tell me if I'm wrong)

SO my question is:

Which is faster/better/more portable/compliant etc....

[^[:ascii:] or [[:^ascii:]] ??
TIA

Dan

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

Reply via email to