2 ms·
Word censoring? Ease of use? Console commands (i.e. from Quake to minecraft)?
by NBJack 2y ago
Word censoring? Ease of use? Console commands (i.e. from Quake to minecraft)?
- wongarsu 2y agoThose sound exactly like the newcomer detectors GP was referring to. What you want is a case-insensitive string comparison, and outside ASCII that's not equivalent to just turning both strings to lowercase and checking equality (or doing a substring search or whatever the task requires)
- account42 2y agoExactly and where you want case-insensitive comparison you almost always also want other kinds of Unicode normalization.
- lmm 2y ago> Word censoring? Should only ever be needed for text from the user, and in that case, as GP said, find a way to examine it as-is, don't "convert". > Ease of use? What ease of use? When has futzing around with case ever made anything easier? > Console commands (i.e. from Quake to minecraft)? Why would those necessitate changing case?