How to fix invalid regular expression in PostgreSQL | DevErrors