Tag Info

New answers tagged


If your pattern is not very big, you could use "brute force". Replace a sub-pattern with more general sub-pattern and check whether pattern matches expression. Repeat it with some subset of possible sub-patterns. This task can be automated using following function. It returns list of pairs. First element of pair is rule replacing position of sub-pattern ...

Top 50 recent answers are included