url-regex-safe
url-regex-safe copied to clipboard
Test regex does not match leading characters before valid protocol
This is a PR to add a test for issue #31.
Also, something automatically reformatted index.js slightly.
Checklist
- [x] I have ensured my pull request is not behind the main or master branch of the original repository.
- [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
- [x] I have written a commit message that passes commitlint linting.
- [x] I have ensured that my code changes pass linting tests.
- [ ] I have ensured that my code changes pass unit tests.
- [x] I have described my pull request and the reasons for code changes along with context if necessary.