@ -136,7 +136,7 @@ const mysql2 = {
const replacement = (await fn(pt.arguments[2])).builder;
return {
builder: knex.raw(
`REGEXP_REPLACE(${source}, ${pattern}, ${replacement}) ${colAlias}`,
`REGEXP_REPLACE(${source}, ${pattern}, ${replacement}, 1, 0, 'c') ${colAlias}`,
),
};
},