From: Austin Ziegler Date: 2002-11-14T15:59:41+09:00 Subject: Re: regex help On Thu, 14 Nov 2002 15:39:09 +0900, Shashank Date wrote: >Using ruby 1.7.3 (2002-10-12) [i386-mswin32] on Win XP (Home) > >Trying to creat a regex which will match a single-quoted string. >My first attempt 'almost' works: /\'.*?\'/ You're doing a minimal match. Use: /'.*'/ instead of /'.*?'/ -austin -- Austin Ziegler, austin@halostatue.ca on 2002.11.14 at 01.58.50