I want to match any line that does not end with 'CA' or 'CA[any number]'. How can I do that using rlike in MySQL? (Note it doesn't support ?! etc).
Here's the regex for a positive match, I just need a way to negate it: '^.*[C][A][0-9]?$'
(Due to an embarrassing architecture limitation, I don't want to use not rlike ...
)