patternProperties: check regex engine matching more completely

* Regex matches are not anchored.
* Matching is case insensitive.