5 ms·
I've also seen people use `[\s\S]` to match all characters when they couldn't use `.`.
by LaputanMachine 1y ago
I've also seen people use `[\s\S]` to match all characters when they couldn't use `.`.
- dimava 1y agoI generally use `[^]` Also you can use . with the dotAll /s
- tomsmeding 1y agoThis is a common approach when the regex needs to match any character including newlines; `.` often doesn't.