Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing escape slash on RegEx in Utils #183

Open
moleCuleFFF opened this issue Aug 27, 2024 · 1 comment
Open

Missing escape slash on RegEx in Utils #183

moleCuleFFF opened this issue Aug 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@moleCuleFFF
Copy link

moleCuleFFF commented Aug 27, 2024

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

@moleCuleFFF
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant