Compatibility layer for using regex-base engines with 'Data.Text'