summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-07-31 11:31:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-07-31 11:31:37 -0400
commit5a27056b31fec62506ba327c7eceee0e875e201b (patch)
treea46519af123a800f6461149d223e4b1c69b7daf3 /src/interfaces
parent6c1fec93303d55ce1a3e45bab4637e902bc6ae24 (diff)
Fix regexp_matches() handling of zero-length matches.
We'd find the same match twice if it was of zero length and not immediately adjacent to the previous match. replace_text_regexp() got similar cases right, so adjust this search logic to match that. Note that even though the regexp_split_to_xxx() functions share this code, they did not display equivalent misbehavior, because the second match would be considered degenerate and ignored. Jeevan Chalke, with some cosmetic changes by me.
Diffstat (limited to 'src/interfaces')
0 files changed, 0 insertions, 0 deletions