Regex pack·Free
JSON and YAML patterns
14 patterns for JSON and YAML: keys, values, the NaN or undefined that JSON rejects, tabs in YAML indentation and an unquoted yes or no. Some also fix things, such as putting quotes around the keys of a JavaScript object.
Free to install.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
3 of 14
(?<![^\s\[\{,])"([^"\\\n]*+(?:\\.[^"\\\n]*+)*+)"\s*+:JSON key (name in $1)
:\s*+"([^"\\\n]*+(?:\\.[^"\\\n]*+)*+)"JSON string value (text in $1)
:\s*+(-?(?:0|[1-9]\d*+)(?:\.\d++)?(?:[eE][-+]?\d++)?)(?=\s*+[,\]\}])JSON number value (in $1)
Changes in 1.0.0
First version.