cast by target property to support regex function with number types
Merge pull request #23 from nykolaslima/cast_by_target_property

cast by target property to support regex function with number types