utils library Null safety

Extensions

PatternUtils
Extends Pattern.
StringUtils
Extends String.