implementing regex support. closes #26
0.5.8