VerbalExpressions / VerbalExpressions/JavaVerbalExpressions
Exposing the spans of matches in the API
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 243
- Avg merge
- 26m
- Merged PRs (30d)
- 1
Description
Wouldn't it be nice to add in the API the option to get the spans of the matches, in addition to just the matches, in the spirit of these python and Java implementation?
https://stackoverflow.com/a/250303/1509695
https://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html#start()
Or is this already baked in and I missed it in the source or unit-tests code?
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 inspecting the JavaVerbalExpressions matching API and the existing unit tests, then compare the requested behavior with the linked Python and Java Matcher references. Done means the API exposes match spans in addition to matched text, with tests covering the new result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100