Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Invalid regular expression: missing / #72

Open
uoxiu opened this issue Feb 25, 2016 · 0 comments
Open

Invalid regular expression: missing / #72

uoxiu opened this issue Feb 25, 2016 · 0 comments

Comments

@uoxiu
Copy link

uoxiu commented Feb 25, 2016

Problem with minifying regular expressions

Test.js:

  var a = 1;
  var E = /[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/i;
  var b = 2;

Result: http://i.imgur.com/pKOHCxe.png

*** Regex extracted from angular-material.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant