Adding a failing test for #228
Adding isRegex.
Initial implementation