53 Commits (6ffdc4579ffb34f4aab69ab4c081badabc7c0a9a)

Author SHA1 Message Date
Rich Felker aee6abb240 fix regexec with haystack strings longer than INT_MAX 10 years ago
Rich Felker c3edc06d1e fix missing integer overflow checks in regexec buffer size computations 10 years ago
Szabolcs Nagy 51eeb6ebc9 fix the use of uninitialized value in regcomp 10 years ago
Szabolcs Nagy 29b1357537 fix ^* at the start of a complete BRE 10 years ago
Szabolcs Nagy 39ea71fb8a fix * at the start of a BRE subexpression 10 years ago
Szabolcs Nagy 2810b30fc3 regex: increase the stack tre uses for tnfa creation 10 years ago
Szabolcs Nagy 831e9d9efa regex: simplify the {,} repetition parsing logic 11 years ago
Szabolcs Nagy 25160f1c08 regex: treat \+, \? as repetitions in BRE 11 years ago
Szabolcs Nagy 03498ec22a regex: rewrite the repetition parsing code 11 years ago
Szabolcs Nagy da4cc13b97 regex: treat \| in BRE as alternation 11 years ago
Szabolcs Nagy 7eaa76fc2e regex: reject repetitions in some cases with REG_BADRPT 11 years ago
Szabolcs Nagy a8cc225384 regex: clean up position accounting for literal nodes 11 years ago
Szabolcs Nagy 4260dfe1ec regcomp: propagate allocation failures 11 years ago
Rich Felker 1507ebf837 byte-based C locale, phase 1: multibyte character handling functions 11 years ago
Szabolcs Nagy c498efe117 regex: fix character class repetitions 11 years ago
Szabolcs Nagy 32dee9b9b1 do not treat \0 as a backref in BRE 11 years ago
Rich Felker 7c8c86f630 suppress backref processing in ERE regcomp 11 years ago
Rich Felker 39dfd58417 fix memory-corruption in regcomp with backslash followed by high byte 11 years ago
Nagy Szabolcs efa9d396f9 implement FNM_CASEFOLD extension to fnmatch function 12 years ago
Szabolcs Nagy ec1aed0a14 rewrite the regex pattern parser in regcomp 12 years ago
Szabolcs Nagy 546f6b322b fix memory leak in regexec when input contains illegal sequence 12 years ago
Rich Felker c5b8f19305 add support for LC_TIME and LC_MESSAGES translations 12 years ago
Rich Felker 72ed3d47e5 fix crash in regexec for nonzero nmatch argument with REG_NOSUB 12 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Rich Felker a4e10e304d implement FNM_LEADING_DIR extension flag in fnmatch 13 years ago
Rich Felker 6ec82a3b58 fix fnmatch corner cases related to escaping 13 years ago
Szabolcs Nagy da0fcdb8e9 fix the end of string matching in fnmatch with FNM_PATHNAME 13 years ago
Szabolcs Nagy 1e81fa4524 fix allocation sizes in regcomp 13 years ago
Rich Felker ae4b0b96d6 revert regex "cleanup" that seems unjustified and may break backtracking 13 years ago
Szabolcs Nagy f05f59b804 remove unused "params" related code from regex 14 years ago
Szabolcs Nagy dd95916382 regex: remove an unused local variable from regexec 14 years ago
Rich Felker 400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008 14 years ago
Rich Felker 8b4c232efe fix regex on arm 14 years ago
Rich Felker 13b2945a3c remove some no-op end of string tests from regex parser 14 years ago
Rich Felker e9cddc8e32 another BRE fix: in ^*, * is literal 14 years ago
Rich Felker 952700e8c3 fix error checking for \ at end of regex (this was broken previously) 14 years ago
Rich Felker 1736148210 fix copy and paste error in regex code causing mishandling of \) in BRE 14 years ago
Rich Felker a5a4778335 fix regex breakage in last commit (failure to handle empty regex, etc.) 14 years ago
Rich Felker d7a90b35b9 fix ugly bugs in TRE regex parser 14 years ago
Rich Felker 45b38550ee new fnmatch implementation 14 years ago
Rich Felker 2b87a5db82 update fnmatch to POSIX 2008 semantics 14 years ago
Rich Felker b9dd43db04 fix signedness error handling invalid multibyte sequences in regexec 14 years ago
Rich Felker 386b34a07b remove invalid code from TRE 14 years ago
Rich Felker b6dbdc69b6 fix broken regerror (typo) and missing message 14 years ago
Rich Felker ad47d45e9d upgrade to latest upstream TRE regex code (0.8.0) 14 years ago
Rich Felker d0678b58ab make glob mark symlinks-to-directories with the GLOB_MARK flag 15 years ago
Rich Felker 787c2648a9 support GLOB_PERIOD flag (GNU extension) to glob function 15 years ago
Rich Felker 32aea2087a duplicate re_nsub in LSB/glibc ABI compatible location 15 years ago
Rich Felker da88b16a22 fix handling of d_name in struct dirent 15 years ago
Rich Felker 0dc99ac413 safety fix for glob's vla usage: disallow patterns longer than PATH_MAX 15 years ago