> > Dan Muey wrote:
> > >
> > > Anyone know where is the [:ascii:] class/group/whatever
> you call it
> > > documented?
> >
> > perldoc perlre
>
> Thanks I'll have a look then!
Looks like it's a Posix thing added in 5.8.0 which is cool and can be written as
[:^ascii:]
Instead of [^[:ascii:]]
Very cool, although it only works on my 5.8.0 and not 5.0
(I don't have a 5.6 ish anyone know when the Posix support was added to regexes?)
This could be usefull if I could do
if($perlversion >= 5.8.0) { do the posix [:^ascii:] version }
Else { do it the -B emulation way }
Anyone know how to check the version without putting use 5.8.0; at the top?
Dan
>
> >
> >
> > John
> > --
> > use Perl;
> > program
> > fulfillment
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]