Add support for escaped wildcard characters.

This pull request enables tests previously marked `explicit` and fixes the resulting test failures by adding support for detecting escaped wildcard characters in a given string.