From: ts Date: 2005-11-23T01:40:43+09:00 Subject: Re: Optimization anyone >>>>> "C" == Christian Neukirchen writes: C> Do you know how oniguruma does that, per chance? You can compile oniguruma with debugging options moulon% ./ruby -e '/abc.*def/' abc {0,-1} def optimize: EXACT_BM anchor: [] sub anchor: [] exact: [abc]: length: 3 code length: 11 [exact3:abc] [anychar*-peek-next:d] [exact3:def] [end] moulon% Guy Decoux