Re: SIMILAR TO syntax (Was: Re: The TODO List (Was: Re: [HACKERS] O...)

2002-09-22 Thread Tom Lane
On Thu, 19 Sep 2002, Tom Lane wrote: AFAICS, getting SIMILAR TO to operate per spec would require adding some sort of translation function that converts the spec-style pattern into a Posix pattern that our regex match engine would handle. I did something about this. The translation function

SIMILAR TO syntax (Was: Re: The TODO List (Was: Re: [HACKERS] O...)

2002-09-19 Thread Marc G. Fournier
On Thu, 19 Sep 2002, Tom Lane wrote: Marc G. Fournier [EMAIL PROTECTED] writes: Who implemented SIMILAR TO in the first place? Thomas. He put in the syntax, but as it stands it's simply syntactic sugar for ~ --- that is, our Posix-compatible regex match operator. Since the spec demands