Avoid using regexps where string literals would do

There's no sense in using a regular expression to match a single fixed string
that is known in advance.

Change-Id: Ia0e83b2b22f4715d4b495636447e6a0e2d4e7901