Re: [:^class:] question

2003-09-11 Thread James Edward Gray II
On Thursday, September 11, 2003, at 09:46 AM, R. Joseph Newton wrote: Dan Muey wrote: SO my question is: Which is faster/better/more portable/compliant etc [^[:ascii:] or [[:^ascii:]] ?? How about [^:ascii:]? The part of the message you snipped in your quoting answers this. Here it is ag

Re: [:^class:] question

2003-09-11 Thread R. Joseph Newton
Dan Muey wrote: > SO my question is: > > Which is faster/better/more portable/compliant etc > > [^[:ascii:] or [[:^ascii:]] ?? How about [^:ascii:]? Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [:^class:] question

2003-09-10 Thread Dan Muey
> Dan Muey wrote: > > > > Howdy, > > Hello, > > > 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 > > That character class matches the characters 'a',

Re: [:^class:] question

2003-09-10 Thread John W. Krahn
Dan Muey wrote: > > Howdy, Hello, > 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 That character class matches the characters 'a', 'c', 'i', 's', ':' or '^