Of course when I said "regex" I meant "character class in a regex".
> -----Original Message----- > From: Tolkin, Steve [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 4:42 PM > To: [EMAIL PROTECTED] > Subject: RE: [Boston.pm] Posix constructs in regex... > > > I have always wanted a warning if a literal character > occurs in a regex twice. That would have caught this error. > > Any chance of seeing this in e.g. perl 6. > > How would I go about proposing it? > > > Hopefully helpfully yours, > Steve > -- > Steven Tolkin [EMAIL PROTECTED] 617-563-0516 > Fidelity Investments 82 Devonshire St. V8D Boston MA 02109 > There is nothing so practical as a good theory. Comments are by me, > not Fidelity Investments, its subsidiaries or affiliates. > > > -----Original Message----- > > From: Ranga Nathan [mailto:[EMAIL PROTECTED]] > > Sent: Friday, April 26, 2002 3:04 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [Boston.pm] Posix constructs in regex... > > > > > > Thanks for that... I see that now!. The posix notation is positively > > confusing... The [ and ] have been hijacked :-)! > > > > > > |[^:alpha:] => any character that is not ':','a','l','p','h'. > > | > > |It worked for the wrong reason. > > | > > |-- > > |Mike Burns <[EMAIL PROTECTED]> <http://netgeek.ws> > > |"Given the opportunity, some people will make a mess of anything." > > | - Bert Bos > > >
