Removed forced addition of trailing whitespace for '^' pattern.