^(?2)(([ \n\r\t])(((?9)(?2):((?2)(?1)(?2)))(,(?2)(?4)))?}]|\(["\/bfnrt]|u[\da-fA-F]{4}))")|-?(0|[1-9]\d)(.\d+)?([eE][-+]?\d+)?|null)(?2)$
^(?2)(([ \n\r\t])(((?9)(?2):((?2)(?1)(?2)))(,(?2)(?4)))?}]|\(["\/bfnrt]|u[\da-fA-F]{4}))")|-?(0|[1-9]\d)(.\d+)?([eE][-+]?\d+)?|null)(?2)$
A small set of regular expressions can tokenize JSON text – that’s what
lex
helps with, for example. However regular expressions cannot truly parse anything.