in reply to postgres reg expression quoting
That was the first hit for search google with site:perlmonks.org regex postgres - not too hard, is it?