Skip to content

parse-url at version 6 doesn't work on Safari #31

@edenhermelin

Description

@edenhermelin

Hi,
since version 6 of the module it seems as it doesn't work anymore on safari.
probably because it used a positive lookahead regex which is not supported on Safari.
@IonicaBizau can we please adjust the regex in a way that will work on Safari?

the regex:

/(?<!\b(?:[a-z][a-z\d+\-.]{1,50}:))\/{2,}/g

relevant other issue - #22

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions