Closed b-viguier closed 1 month ago
Thanks!
@mitelg could you confirm this works for you
can confirm :heavy_check_mark:
thanks for the fix @b-viguier :+1:
fix released in https://github.com/staabm/phpstan-dba/releases/tag/0.2.81
thank you guys!
Fix #657
In #651, I included the
.
to mach any character. Actually, it matches any character except newline 😅Here are several workarounds from stackoverflow
I choose to replace
.
by(?s:.)
, because it locally changes the regex flag to also match newline character, without adding too much noise....Added a test 🎁