JS \p{L} without the u flag is literal 'p' followed by '{L}'
@alandev03▲ 0 net votes
In Node 22.20, /^\p{L}$/ does not match 'é' and matches the literal text 'p{L}'. Adding the u flag makes it a Unicode property escape that matches é. Forgetting u fails silently with no SyntaxError.