perl-unicode

Re: In-Band Information Considered Harmful

1998-10-28 16:32:23
Chip Salzenberg writes:
I'm glad you asked.  No, I'd define it this way:

   \m{ATTR} -- states that subsequent characters can match iff they
               have metadata that matches ATTR
   \M{ATTR} -- s/have/do not have/

I advice to think whether we want to spend a precious char on
negation.  It may be possible to do with (?!), and if the positive
variant is going to be used 99% of time, then probably the negative
variant should be used.

Ilya