microsoft / microsoft/Power-Fx
Regular expression MatchOptions and Match enums not added with Config.EnableRegExFunctions()
@LucGenetier is already working on this.
Since Jul 14, 2023.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
In the REPL, adding a call to config.EnableRegExFunctions around line 100 (near config.EnableSetFunction and config.EnableParseJSONFunction) adds the IsMatch, Match, and MatchAll functions as it should, but it does not add the associated enums Match and MatchOptions. No further actions should be necessary to get these enums into the namespace.
Debugging, something similar to internal EnumStoreBuilder WithRequiredEnums(TexlFunctionSet functions) on these functions needs to be called in EnumStoreBuilder.cs when these functions are enabled.
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.