Agent Sandoval
kiwifarms.net
- Registrado
- 14 de Dic, 2022
Some interesting facts about characters. ASCII characters are just numbers. You can (usually) directly compare characters the same way you can numbers. For example:I was trying to do that but you still have to use a regular expression. Atleast, I'm pretty sure you do.
If I can't figure it out I'll probably just do something niggerlicious like making an entire array with the alphabet in it, and using a loop to check each character in the string against the array because fuck regexpressions.
Código:
('a' < 'c') && ('c' < 'z')
My experience has been that regex is generally overkill unless it's in an interface where the regex is part of your input, ie. grep, sed