Commit Graph

226 Commits (cc721c459d3783bbdb4beb1bbfa802a5328d15a2)

Author SHA1 Message Date
Tom Lane 2a0af7fe46 Allow complemented character class escapes within regex brackets. 5 years ago
Tom Lane 3db05e76f9 Suppress compiler warning in new regex match-all detection code. 5 years ago
Tom Lane 190c79884a Simplify memory management for regex DFAs a little. 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 b5a66e7353 Fix another ancient bug in parsing of BRE-mode regular expressions. 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
Tom Lane afcc8772ed Fix ancient bug in parsing of BRE-mode regular expressions. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Alvaro Herrera 17cc133f01
Dial back -Wimplicit-fallthrough to level 3 6 years ago
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Andres Freund 01368e5d9d Split all OBJS style lines in makefiles into one-line-per-entry style. 6 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. 7 years ago
Tom Lane 8a29ed0530 Fix misoptimization of "{1,1}" quantifiers in regular expressions. 7 years ago
Peter Eisentraut 5e1963fb76 Collations with nondeterministic comparison 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Tom Lane 41c912cad1 Clean up warnings from -Wimplicit-fallthrough. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Tom Lane ed87e19807 Mop-up for commit 85feb77aa0. 8 years ago
Tom Lane 85feb77aa0 Assume wcstombs(), towlower(), and sibling functions are always present. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 9 years ago
Tom Lane 6cfaffc0dd Fix regexport.c to behave sanely with lookaround constraints. 9 years ago
Peter Eisentraut eccfef81e1 ICU support 9 years ago
Peter Eisentraut f97a028d8e Spelling fixes in code comments 9 years ago
Tom Lane d6b059ec74 Document intentional violations of header inclusion policy. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 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 8c95ae81fa Suppress compiler warnings about useless comparison of unsigned to zero. 10 years ago
Tom Lane 3bb3f42f37 Fix some regex issues with out-of-range characters and large char ranges. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 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 9f1e642d50 Fix incorrect handling of lookahead constraints in pg_regprefix(). 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 f2c4ffc330 Fix potential infinite loop in regular expression execution. 10 years ago