prettyjson
prettyjson copied to clipboard
Printing a regex
This is a really nice plugin. I was having some difficulty with regex expressions. I have a regular expression in my JSON output. The plugin seems to be breaking out the regex into its characteristics. For a regex
/\.js$|\.json$/
The plugin outputs
source: \.js$|\.json$
global: false
ignoreCase: false
multiline: false
lastIndex: 0
Is there a way for me to turn off this behavior? Thanks!