@mathias does this regex ~work for JS identifiers? /[^0-9\s\(\)\[\]\{\}<>,.:;=~+\-\*\/!%&\|\?\][^\s\(\)\[\]\{\}<>,.:;=~+\-\*\/!%&\|\?\]*/
-
-
@mathias i don't want to use that long one! was just asking in principle if you can use negated char classes to catch all those unicodes? -
@getify You could, but it won’t be perfect. It will have false positives, e.g. astral symbols like `
` should be invalid - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.