You can translate a glob into a Boolean term.
Question is if you need the full power of Boolean expressions.
Because Quine McCluskey is NP complete.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: Challenge: Generate a glob patterns from a word list
by LanX
in thread Challenge: Generate a glob patterns from a word list
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |