http://qs1969.pair.com?node_id=11108520


in reply to JSON parser as a single Perl Regex

I think maybe need \s* in (?<STRING>...)also as some JSON file have space outside of ""

(?<STRING> \s* ( " (?: [^\\"]+ | \\ ["\\/bfnrt] )* " )\s* (?{ [$^R, $^N] }) )