In other places Oracle converts empty strings to null. So what is happening here is that we apply the Oracle emulation's "empty string to null" logic, and then the REGEXP_REPLACE does it's thing.
We'd need to include special logic in the REGEXP_REPLACE function to cope with this in Oracle mode. Patches are welcome :-) -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To post to this group, send email to h2-database@googlegroups.com. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.