This regexp is autofixed by unicorn/better-regex
like this:
- /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"Instead, it should be fixed to [^]
, according to https://stackoverflow.com/a/16119722/451391:
- /lorem(?:.|\n)*?ipsum/m
+ /lorem[^]*?ipsum/m
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too