Turn pkl Regex type into go regexp.Regexp type
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 334
- Forks
- 43
- Avg merge
- 5h 41m
- Merged PRs (30d)
- 1
Description
It would be nice to have the Regex type convert to the regexp.Regexp type. Currently, I use a string and have to turn the string into regex within go before using it.
Contributor guide
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 locating the Go Regex type and the code that maps Pkl values into Go values. Check how other Pkl types expose Go-native representations and identify the relevant tests or test entry points. Done means a Pkl Regex value can be used as a regexp.Regexp without requiring callers to convert a string themselves.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100