Fixes #30, regex capability