From: David Alan Black Date: 2002-04-04T02:01:22+09:00 Subject: Re: regular expression question Hi -- On Thu, 4 Apr 2002, ts wrote: > >>>>> "D" == David Alan Black writes: > > D> I've always thought they were so elegant and powerful, and it took me > D> a while to notice that not everyone agreed :-) > > They are powerful when they are well designed. Actually they are also powerful when they are badly designed, which can cause problems :-) > When you write a regexp, you must think to all cases of failures otherwise > you can have big surprises. > > Do you remember the well-known example NFA-vs-DFA with the P hack to solve > it ? No, I don't know that one. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav