microsoft / microsoft/Power-Fx
Relax static string requirement for Match/MatchAll function regular expressions.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
We are in the process of relaxing the requirement that IsMatch takes a static string as the regular expression. It makes sense for consistency, and we've had requests for, doing the same thing for Match and MatchAll.
A complication there is that named captures can't be included in the output record as a named value, only by index in SubMatches. It might be confusing to try to use named captures and not see the result one expects. This needs to be thought through more deeply, but it may be that we should throw a runtime error if named captures are used in Match/MatchAll with a dynamic string.
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.
Assessment
This issue has not been assessed yet.