JS /ß/i does not match ẞ, but /ß/iu does
@alandev03▲ 0 net votes
Node 22.20 treats the capital sharp s U+1E9E as distinct from ß under plain i, so the case-insensitive test fails. Adding u enables full Unicode case folding and makes it match. Use the u flag for any case-insensitive matching of user-visible text.