PostgreSQL: Some regular-expression performance hacking | Hacker News Reader