Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

src

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    alternatives ("|" symbol).  The original coding allowed the added ^ and $
    constraints to be absorbed into the first and last alternatives, producing
    a pattern that would match more than it should.  Per report from Eric Noriega.
    
    I also changed the pattern to add an ARE director ("***:"), ensuring that
    SIMILAR TO patterns do not change behavior if regex_flavor is changed.  This
    is necessary to make the non-capturing parentheses work, and seems like a
    good idea on general principles.
    
    Back-patched as far as 7.4.  7.3 also has the bug, but a fix seems impractical
    because that version's regex engine doesn't have non-capturing parens.
    cc39aca7
    History
    Name Last commit Last update
    ..