Case insensitive replacement into mariadb sql

I'm confused a bit. Do you want to do the "matching" case-INsensitive" or "case-sensitive"?

Looks like your example (and rightly so) does the case-INsensitive match which is the correct default behavior described here.

I'm no mariadb expert, so...