Commit Graph

100 Commits (4aea704a5bfd4b5894a268499369ccab89940c9c)

Author SHA1 Message Date
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
Tom Lane 0d79c0a8cc Make various variables const (read-only). 12 years ago
Tom Lane a7b61d4f5a Fix infinite-loop risk in fixempties() stage of regex compilation. 13 years ago
Tom Lane 73dc003bee Add missing error check in regexp parser. 13 years ago
Tom Lane 54fd196ffc Prevent corner-case core dump in rfree(). 13 years ago
Tom Lane c6aae3042b Simplify and document regex library's compact-NFA representation. 13 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 13 years ago
Tom Lane 3cbfe485e4 Remove useless "retry memory" logic within regex engine. 14 years ago
Tom Lane 173e29aa5d Fix the general case of quantified regex back-references. 14 years ago
Tom Lane 5223f96d92 Fix regex back-references that are directly quantified with *. 14 years ago
Tom Lane 27af91438b Create the beginnings of internals documentation for the regex code. 14 years ago
Tom Lane 1e16a8107d Teach regular expression operators to honor collations. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago