fixes to is_regex for amrita

Just thought I help out a bit in the parts I knew of getting amrita up to speed with Elixir 0.13.0