From: Simon Strandgaard Date: 2004-11-19T05:34:16+09:00 Subject: Re: Tales of the Regex (Re: About Regular Expressions) On Thursday 18 November 2004 21:19, Mauricio Fern�ndez wrote: [snip english (sorry)] > Also Simon Strandgaard's re might interest you; you can do things like > > >> puts /ab|cd(?=x)|xxx/.tree > +-Alternation > +-Sequence > | +-Inside set="a" > | +-Inside set="b" > +-Sequence > | +-Inside set="c" > | +-Inside set="d" > | +-Lookahead positive > | +-Inside set="x" > +-Sequence > +-Inside set="x" > +-Inside set="x" > +-Inside set="x" > => nil Thanks Mauricio for mentioning this. It can be obtained through raa (or via rpa) http://raa.ruby-lang.org/project/regexp/ btw: does any one use this package? (got ideas for improvement?) -- Simon Strandgaard