Fix: Using regex function with primitive type

Also, removing the ValueProcessor in favor of a Transformer chain