4 ms·
[\s\S]* Doesn't this match every possible character, 0 to infinity times?
by k3n 14y ago
[\s\S]*
Doesn't this match every possible character, 0 to infinity times?
- dgreensp 14y agoIt's an idiom for `.*` when you want `.` to mean any character, including newlines. `.` never matches a newline in JS regexes.