added support for named capture regexp matcher
another idea file
test fixes and minor refactoring