Implement a Regexp match mode

fixes #30