perl-unicode

Re: [[:foobar:]]

1999-07-07 01:25:13

Ilya Zakharevich writes:
Maybe the most notable idea is *substraction* of categories (these
used to be called character classes).  The syntax is neat, too, but I
have doubts about backward compatibility.  Basically, '^' toggles the
"polarity" of a category: [A^B^C] = category A - category B + category C.
Here they also talk about "word characters" and equivalence classes ([=c=]
in POSIX), and about collation characters ([.c.] in POSIX).

I proposed something like [[: alphanum & ^lower :]] some time ago (I
hope you allow for whitespace in POSIXish syntax? ;-).

Ummm, not right now :-)

Character class [: alphanum & ^lower :] unknown at -e line 1.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

<Prev in Thread] Current Thread [Next in Thread>