From: Olonichev Sergei Date: 2002-03-01T21:50:06+09:00 Subject: Re: Ruby Regular Expression problem And It also works badlly if I put "(:?" instead of "(". "Stephan K�mper" wrote in message news:3C7F741A.6374C86C@Schleswig-Holstein.de... > Olonichev Sergei wrote: > > > > Ok. > > > > 3. > > echo "=XX=================================" | ruby -e 'a=$stdin.gets; if a > > =~ "X((.)*..?.)+X" then puts $& end' > > > > Hangs up !!! > > > > ruby -v > > > > ruby 1.6.2 (2000-12-18) [i386-cygwin] > > > > BTW, this terminates properly on my machine with �n approx. 2 hours (which > shows how baldy designed the RegEx is...) > > Note that I'm using a more recent Ruby version: > > [c:\]ruby -v > ruby 1.6.6 (2001-12-26) [i586-mswin32] > > Happy rubying! > > Stephan