Commit Graph

112 Commits (b6312becc81949381046159c488809f8baefd2f2)

Author SHA1 Message Date
Tom Lane b6312becc8 Avoid assertion due to disconnected NFA sub-graphs in regex parsing. 10 months ago
Thomas Munro db4f21e4a3 Redesign interrupt/cancel API for regex engine. 2 years ago
Peter Geoghegan cb8ff7ed5a Consistently use named parameters in regex code consistently. 3 years ago
Peter Geoghegan bc2187ed63 Consistently use named parameters in regex code. 3 years ago
Tom Lane 8f72becd6b Handle interaction of regexp's makesearch and MATCHALL more honestly. 4 years ago
Tom Lane 65dc30ced6 Fix regexp misbehavior with capturing parens inside "{0}". 4 years ago
Tom Lane 0e6aa8747d Avoid determining regexp subexpression matches, when possible. 4 years ago
Tom Lane 00116dee5a Rethink regexp engine's backref-related compilation state. 4 years ago
Tom Lane cb76fbd7ec Make regexp engine's backref-related compilation state more bulletproof. 4 years ago
Tom Lane cc1868799c Fix use-after-free issue in regexp engine. 4 years ago
Tom Lane f68970e33f Fix performance issue in new regex match-all detection code. 4 years ago
Tom Lane 4604f83fdf Suppress unnecessary regex subre nodes in a couple more cases. 5 years ago
Tom Lane 4aea704a5b Fix semantics of regular expression back-references. 5 years ago
Tom Lane 0fc1af174c Improve memory management in regex compiler. 5 years ago
Tom Lane 7dc13a0f08 Change regex \D and \W shorthands to always match newlines. 5 years ago
Tom Lane 2a0af7fe46 Allow complemented character class escapes within regex brackets. 5 years ago
Tom Lane ea1268f630 Avoid generating extra subre tree nodes for capturing parentheses. 5 years ago
Tom Lane 5810430894 Convert regex engine's subre tree from binary to N-ary style. 5 years ago
Tom Lane cebc1d34e5 Fix regex engine to suppress useless concatenation sub-REs. 5 years ago
Tom Lane 824bf71902 Recognize "match-all" NFAs within the regex engine. 5 years ago
Tom Lane 08c0d6ad65 Invent "rainbow" arcs within the regex engine. 5 years ago
Tom Lane 4e703d6719 Make some minor improvements in the regex code. 5 years ago
Tom Lane 2dd6733108 Minor fixes to improve regex debugging code. 5 years ago
Michael Paquier 8548ddc61b Fix inconsistencies and typos in the tree, take 9 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 6 years ago
Tom Lane 8a29ed0530 Fix misoptimization of "{1,1}" quantifiers in regular expressions. 6 years ago
Tom Lane 41c912cad1 Clean up warnings from -Wimplicit-fallthrough. 7 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Tom Lane d6b059ec74 Document intentional violations of header inclusion policy. 9 years ago
Tom Lane c54159d44c Make locale-dependent regex character classes work for large char codes. 9 years ago
Tom Lane a859e64003 Clean up another pre-ANSI-C-ism in regex code: get rid of pcolor typedef. 9 years ago
Tom Lane 6eefd2422e Remove typedef celt from the regex library, along with macro NOCELT. 9 years ago
Tom Lane 3bb3f42f37 Fix some regex issues with out-of-range characters and large char ranges. 10 years ago
Tom Lane a43b4ab111 Fix enforcement of restrictions inside regexp lookaround constraints. 10 years ago
Tom Lane 12c9a04008 Implement lookbehind constraints in our regular-expression engine. 10 years ago
Tom Lane afdfcd3f76 Miscellaneous cleanup of regular-expression compiler. 10 years ago
Tom Lane 538b3b8b35 Improve memory-usage accounting in regular-expression compiler. 10 years ago
Tom Lane 6a7153661d Improve performance of pullback/pushfwd in regular-expression compiler. 10 years ago
Tom Lane f5b7d103bc Improve performance of fixempties() pass in regular-expression compiler. 10 years ago
Tom Lane 579840ca05 Fix O(N^2) performance problems in regular-expression compiler. 10 years ago
Tom Lane 48789c5d23 Fix regular-expression compiler to handle loops of constraint arcs. 10 years ago
Tom Lane b63fc28776 Add recursion depth protections to regular expression matching. 10 years ago
Tom Lane d9c0c728af Fix low-probability memory leak in regex execution. 10 years ago
Tom Lane b44d92b67b Sync regex code with Tcl 8.6.4. 10 years ago
Tom Lane 91cf3135b9 Fix minor bug in regexp makesearch() function. 10 years ago
Tom Lane 8a0258c318 Fix some possible low-memory failures in regexp compilation. 10 years ago
Tom Lane 1567e659a8 Fix two low-probability memory leaks in regular expression parsing. 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Tom Lane 9662143f0c Allow regex operations to be terminated early by query cancel requests. 12 years ago