Re: text_pattern_ops and complex regexps
От | Tom Lane |
---|---|
Тема | Re: text_pattern_ops and complex regexps |
Дата | |
Msg-id | 27610.1241643515@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: text_pattern_ops and complex regexps (Andrew Dunstan <andrew@dunslane.net>) |
Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes: > Tom Lane wrote: >> Is this demonstrable, or just speculation? The incompatibilities >> between ARE mode and (legal) ERE patterns are pretty darn small. > It's explicitly documented. Whether or not there is a good basis for the > documentation I can't yet say. If that's going to be influential I will > dig deeper. Our fine manual asserts that the only such incompatibility is that inside square brackets (character alternative lists), ERE mode takes backslash as an ordinary character while ARE mode thinks it begins an escape. Given the additional capabilities afforded by the latter interpretation, and that every other modern regex engine on the planet takes the latter approach *without* giving you any option, it doesn't seem too unreasonable to ask OpenACS to join the twenty-first century ... regards, tom lane
В списке pgsql-hackers по дате отправления: