PatternGenerator fails specific case
Header
Project | Reproducibility |
---|---|
CommonData | Always |
Description
Regex simplification generates invalid results which match more cases than there are in the dataset.
STR
- Execute FindPattern on the dateset which you can find in AI.
- Observe the generated regex string
- As you can see it will match cases which are not from the dataset
Additional information
DataSet
"CommonData",
"CommonMath",
"CommonLinq",
"Controls"
Expected output
"Co((mmon(Data|Math|Linq)|ntrols)"
Generated output
"Co(|mmo)n(Data|Math|Linq|trols)"
Matches ConData, ConMath, ConLinq and Commontrols which are not from the dataset