Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: JSON parser as a single Perl Regex

by merlyn (Sage)
on Oct 10, 2012 at 03:41 UTC ( #998123=note: print w/replies, xml ) Need Help??


in reply to JSON parser as a single Perl Regex

I think, looking back on this a few weeks later, is the most amazing thing that...
if the match succeeds, the thing it is matched against is replaced with the actual data structure. Yes, a match turns into a substitute!

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.