linkedin / linkedin/URL-Detector
Regex you are using is detecting a number as a valid URL
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 785
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
Regex you are using is detecting a number as a valid URL, I try to test your regex with: this is a test 1
and the regex detected the number 1 as a valid url
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported case in the Java URL detector: “this is a test 1” should not identify the standalone number as a URL. Locate the regex or URL-detection entry point responsible, then add or update a regression test showing that this input produces no URL match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100