Switch to use plain strings instead of regex.