Fixed narrowing-results by regexp
Merge pull request #594 from ichizok/fix-regexp-match

Fixed narrowing-results by regexp