I have the following string-
I know what that’s like when an army is defeated.
This MySQL command returns 1.
select "I know what that’s like when an army is defeated." REGEXP '[^[:punct:] A-Za-z0-9]'
But, when I use 'alnum' instead of [A-Za-z0-9], it returns 0.
select "I know what that’s like when an army is defeated." REGEXP '[^[:punct:] [:alnum:]]'
Can anyone please explain the reason?
Thanks!