[Tfug] Regex poser

Bexley Hall bexley401 at yahoo.com
Wed Nov 4 21:45:01 MST 2009


Hi Ryan,

> > I want a regex that is essentially
> >
> > [\x20-\x60][\x80-\xFF][\x60-\xDF]
> >
> > but *excludes* \x22\x83\x78
> 
> Try this:
> 
> [\x20-\x21\x23-\x60][\x80-\x82\x84-\xFF][\x60-\x77\x79-\xDF]

But that will also exclude

[\x20-\21\x23-\x60]\x83\x78
and
\x22[\x80-\x82\x84-\xFF][\x60-\x77\x79-\xDF]

assuming I didn't screw this up (did I forget any others?)


      




More information about the tfug mailing list