Closed ahutchings closed 7 years ago
Killing it, btw I just switched to using prettier
to auto format the code - does away with opinions which is great on OS projects like this :) Just wanted to let you know incase you do any more PR's master was just linted and updated with that formatting which changed a bunch of files.
Nice, I've been meaning to check out prettier. Will definitely update before sending any PR's!
…user input
Without escaping, user input such as "[" or "*" trigger an uncaught SyntaxError: "Invalid regular expression: /^(?:. +)[/: Unterminated character class"