Make grok with a string pattern still obey anchor