Is it feasible to detect, in regex, if one expression matches a subset of another? Obviously generating all possible inputs and measuring is one way to do it, but it's way too slow.
Asked
Active
Viewed 36 times
0
-
1please provide more details with examples – Matt.G Jul 31 '18 at 14:03
-
2See https://stackoverflow.com/questions/6363397/how-to-tell-if-one-regular-expression-matches-a-subset-of-another-regular-expres – Wiktor Stribiżew Jul 31 '18 at 15:18
-
Thanks, @WiktorStribiżew, this is a dupe of that question :) – Filip Haglund Jul 31 '18 at 15:36
-
Glad I could help finding it :) – Wiktor Stribiżew Jul 31 '18 at 18:49