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

Invalid regular expression: missing / #72

@uoxiu

Description

@uoxiu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions