OSDN Git Service

Teach regex_fixed_prefix() the correct handling of advanced regex
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Dec 2004 02:45:07 +0000 (02:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Dec 2004 02:45:07 +0000 (02:45 +0000)
commit76e8a87f158e2cacb213978a74f28395180f5ca4
treead3aa52d587eb8853e0048d7b8f77c1b7ad08a3a
parent4e91824b9490a73619200e9d18b9234263d124d3
Teach regex_fixed_prefix() the correct handling of advanced regex
escapes --- they aren't simply quoted characters.  Problem noted by
Antti Salmela.  Also fix problem with incorrect handling of multibyte
characters when followed by a quantifier.
src/backend/utils/adt/selfuncs.c