Skip to content

angry pattern #1

@apapacy

Description

@apapacy

It's great idea. But some angry pattern

const PATTERN = /url\s*(['"]([^\'"]+)['"])/gmi;

Need

const PATTERN = /url\s*(\s*['"]([^\'"()]+)['"]\s*)/gmi;

() in [] is cery importent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions