From: Sebastian Hungerecker Date: 2007-10-01T22:12:34+09:00 Subject: Re: regexpression: scanning a special charachters // ? kazaam wrote: > Is there an escape charachter? I tried it so: > > result = overlook.scan(/myoverlook:\/\/\(.+?)\n/m) That would be correct if you hadn't accidentally escaped the (, too. A cleaner way would be to use %r{} instead of //, so that / isn't treated as a special character and you don't need to escape it. Like so: result = overlook.scan(%r{myoverlook://(.+?)\n}m) HTH, Sebastian -- NP: Anathema - Sweet Tears Jabber: sepp2k@jabber.org ICQ: 205544826