5da1d41ddf
Move case sensitivity option into glob2regex.
2016-05-18 10:17:05 +02:00
61fa9628a5
Rename AstType to GlobExpression
2016-05-13 19:22:33 +02:00
253af1a3ad
Throw if glob parsing fails.
...
This also fixes the warning about an unused boolean variable.
2016-05-12 20:02:33 +02:00
217b41ace2
Add new tests for glob2regex and try to fix the failing one
...
glob2regex is not 100% accurate yet, but it works at least
for the cases in the accompanying unit test.
2016-05-12 10:23:47 +02:00
05aaaebe0d
Import glob2regex
...
It's still missing ast optimization and some code cleanup is also
needed, but it should be working in the general case.
Also write a small unit test for it.
2016-05-11 20:36:23 +02:00