Skip to content

Missing escape slash on RegEx in Utils #183

@moleCuleFFF

Description

@moleCuleFFF

Environment

Node 18.20.2

Reproduction

Regular expression has error in it resulting in an error when running parseGitURI.

/^(?<repo>[\w.-]+\/[\w.-]+)(?<subdir>[^#]+)?(?<ref>#[\w./@-]+)?/;

Describe the bug

Missing escape slash in RegEx

/^(?<repo>[\w.-]+\/[\w.-]+)(?<subdir>[^#]+)?(?<ref>#[\w./@-]+)?/;

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions