This regexp is optimized like this: ```diff - /lorem(?:.|\n)*?ipsum/m + /lorem[.\n]*?ipsum/m ``` This breaks the regex: * `(.|\n)` means "any character, including a newline character" * `[.\n]` means "a period character or a newline character" See https://github.com/sindresorhus/eslint-plugin-unicorn/issues/895.