prettyjson icon indicating copy to clipboard operation
prettyjson copied to clipboard

Printing a regex

Open manatarms opened this issue 7 years ago • 0 comments

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!

manatarms avatar May 17 '17 20:05 manatarms