Add a new RegExp field and tests

This might be helpful for some.