CaT <cat@xxxxxxxxxx> writes: > There's a bug in your version of pcre I think as postgres would have > little to do with the regex itself (I be guessing). You be wrong ... PG uses Tcl's regex engine, not pcre, and this behavior is as documented. No, I don't know why Henry Spencer chose to do it that way, but he's certainly forgotten more about REs than the rest of us will ever know. regards, tom lane