Skip to content
Johan Karlsson edited this page Jul 23, 2017 · 3 revisions

Welcome to the Patternizer wiki!

Feature suggestions

Wild and crazy feature suggestions.

Wildcard matching

Let's say we have a star that is composed by four lines (ex "/ | \ -" but centered). I really doesn't matter in which order we drew it, just that it is a star.

The suggestion is to add .WildcardMatch() as a descriptive method that allows the evaluator to try all possible orders of the line list against the pattern.

p.When( Patterns.LineStar ).WildcardMatch();

Drawbacks: CPU intense?

Clone this wiki locally