On Thu, Sep 18, 2008 at 11:03 AM, Norman Rasmussen <norman at rasmussen.co.za> 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