I would prefer the use of the ```matches()``` method here to offer a better match.