James Edward Gray II wrote: > > On Tuesday, September 9, 2003, at 01:28 PM, Dan Muey wrote: > > > 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?) > > I don't know the version it was added in, but it works in Perl 5.6.0.
It was added to Perl 5.6.0. perldoc perldelta [snip] POSIX character class syntax [: :] supported For example to match alphabetic characters use /[[:alpha:]]/. See the perlre manpage for details. $ perl -v This is perl, v5.6.0 built for i586-linux John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]