In the REGEXP_REPLACE function, when in PostgreSQL compatibility mode, accept (but ignore/strip out) the 'g' flag.