On 12/18/07, yitzle <[EMAIL PROTECTED]> wrote: > I tried to do something like the following, but it didn't work. It > fails on a zero-quote line. No idea why. > /^([^']*'[^']*'[^']*)*$/
No idea? Here's one: If it is to match a non-trivial string, your pattern needs to find at least two apostrophes. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/