This regexp was introduced in
OGM-910 Resolved to differentiate between primary key constraint violations and unique indexes violation. Looks like it was made a bit too strict as it doesn't work with MongoDB 3.2.7. I will make it more permissive while keeping it sufficiently strong to avoid false positives. |