[jdev] ruby xmppd, and Psi

Eric Will rakaur at malkier.net
Thu Sep 18 10:04:43 CDT 2008


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



More information about the JDev mailing list