fixes to is_regex for amrita
Merge pull request #97 from lowks/master

fixes to is_regex for amrita