Replaces regex matcher from .match() to =~

On my machine: 2.4s -> 1.9s