in reply to Re: Re: Matching an JavaScript object initalizer regex
in thread Matching an JavaScript object initalizer regex

Sorry! I left out the ^ in my character class. I've updated it.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a (from-home) job
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

  • Comment on Re: Re: Re: Matching an JavaScript object initalizer regex

Replies are listed 'Best First'.
Re: Re: Re: Re: Matching an JavaScript object initalizer regex
by Incognito (Pilgrim) on Feb 15, 2002 at 00:36 UTC
    I have verified that your regex does exactly the parsing required in this thread! It's amazing to comprehend the power of Perl and Regex... That one little regex (although not a simple one) could parse all test cases of complex JavaScript (and thus Perl) regular expressions... You're good.... +++++ to you my friend ;)