On Thu, Sep 18, 2008 at 11:03 AM, Norman Rasmussen <[EMAIL PROTECTED]> wrote: > oh, it might want the global flag: > resp.match(/(\w+\s*=\s*(?:(?:"[^"]+")|(?:[^,]+)))/g)
Ruby doesn't have the global flag, unfortunately: irb(main):001:0> /re/g SyntaxError: compile error (irb):1: unknown regexp option - g from (irb):1 _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________