From: Damphyr Date: 2006-04-02T03:41:03+09:00 Subject: Re: Regular Expression matching biggest possible petermichaux@gmail.com wrote: > Hi, > > I would like to remove comments from a JavaScript file with a Ruby > script. I discovered that my regular expression matching seems to match > the biggest possible substring. Wow, I only had to wait 20 minutes before posting (or you could have checked the regexp madness thread). Seems today is greedy regexp day :) V.- -- http://www.braveworld.net/riva ____________________________________________________________________ http://www.freemail.gr - ������ �������� ������������ ������������. http://www.freemail.gr - free email service for the Greek-speaking.