Simplify and fix IsRegex detextion by looking for special chars used by regular expression syntax. Add unit test.
Merge pull request #1237 from maciejmrowiec/master

Simplify and fix IsRegex detection by looking for special chars used by regular expression syntax. Add unit test.