On Thu, 10 Aug 2000 17:21:44 +0300, Jason Elbaum wrote:

>   \x          match lowercase alpha char
>    \X          match uppercase alpha char
>
>Thus /\X\x*/ would match all capitalized words, while /\X+/ would match
>acronyms, and /(\X\x+)+/ would match Java class names.

You've got my vote, apart from one tiny detail: \x is already in use. It
allows you to specify character codes in hex, just like "\012" is in
octal.

        $_ = "a\tb";
        $_ = "a\tb";
        print join '#', split /\x09/;
-->
        a#b


Getting a feature like this accepted, should be rather trivial.

-- 
        Bart.

Reply via email to