scala / scala/scala-parser-combinators
Case insensitive regexs in parser combinators
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 679
- Forks
- 131
- Avg merge
- 8h 25m
- Merged PRs (30d)
- 3
Description
Hi,
The scala.util.parsing.combinator library should provide a way of turning on case insensitive matches; having to prefix every string with a (?i) isn't ideal. E.g., """(?iu)\|H""".r, just ends up cluttering up the 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 with the scala.util.parsing.combinator library and inspect how regex and string matches are represented, using the issue's (?iu) regex example as the behavioral reference. Determine an API for enabling case-insensitive matching without repeating inline flags, and consider how completion would be verified across parser combinators.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100