summaryrefslogtreecommitdiff
path: root/lib/libc/regex
AgeCommit message (Expand)Author
2021-01-03Make CHIN() Boolean-valued and use this to turn an expression with aTheo Buehler
2021-01-03Turn macros into inline functions so that there is no need to document inTheo Buehler
2021-01-02Remove two now-unused functions; a result of the categories removal.Todd C. Miller
2020-12-31More regular error handling with the REQUIRE macro.Todd C. Miller
2020-12-31Remove unused categories in re_guts; they are written to but never read.Todd C. Miller
2020-12-31Strings in struct parse can be const, they are never modified.Todd C. Miller
2020-12-30regcomp.c uses the "start + count < end" idiom to check that there areTheo Buehler
2020-12-30Constify the strings in regerror.c and make use of the strlcpy()Theo Buehler
2020-12-30cclasses[] multis field is always an empty string. Remove it and codeTheo Buehler
2020-12-30Constify the strings in cnames[]. No functional change.Theo Buehler
2020-12-28Fix an off-by-one error in the marking of the O_CH operator followingTodd C. Miller
2020-10-13Do some easy .data -> .rodata/.data.rel.ro conversionsPhilip Guenther
2019-02-05Fix typo in last commit.Todd C. Miller
2019-02-05Avoid an out of bounds read when regcomp() is passed a bad expression.Todd C. Miller
2018-07-11Drop a const-bomb on regexec. It's probably not a good idea to remove aMartijn van Duren
2017-10-30fix oob read; form llvm via Vlad Tsyrklevich; ok millert@Otto Moerbeek
2016-12-22Clarify code by eliminating unused #define's MUSTSEE, MUSTNOTSEE and inliningKenneth R Westerback
2016-12-21Adopt relevant part of NetBSD's r1.7 commit to discard unused results of theKenneth R Westerback
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsPhilip Guenther
2016-05-26Change the way regexec handles REG_STARTEND combined with REG_NOTBOL.Martijn van Duren
2016-05-25KNF with respect to indentation; no code changeIngo Schwarze
2016-05-25Fix another one-byte buffer underflow (read access only).Ingo Schwarze
2016-05-17Fix a one-byte buffer underflow (read access only).Ingo Schwarze
2016-05-04Remove old cruft.Vadim Zhukov
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2015-12-28Remove NULL-checks before free() and needless argument casts.mmcc
2015-12-28Remove NULL-checks before free() and unnecessary argument casts.mmcc
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc
2015-11-10update NAME section to include all documented functions,Jason McIntyre
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
2015-09-14Wrap <langinfo.h> and <regexp.h> so internal calls go direct andPhilip Guenther
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
2014-12-09put back some information what the character classes actually mean;Ingo Schwarze
2014-12-09no more ctype(3);Jason McIntyre
2014-10-18reallocarray() -- a little tricky to reviewTheo de Raadt
2014-10-11Userland reallocarray() audit.Doug Hogan
2014-10-09use reallocarray(NULL, a, b) instead of malloc(a, b), which gives usTheo de Raadt
2014-09-10zap trailing whitespace;Jason McIntyre
2014-09-10document \<word\> as being non standardJonathan Gray
2014-09-08add \<word\> support to regcomp. prompted by renewed interest from jsgTed Unangst
2014-05-06reallocarray for things which are arrays. ok deraadtTed Unangst
2014-01-22Use consistent phrasing for bitmask flags.Philip Guenther
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-11-28The print() routine here can be passed at least some of the non-charactersPhilip Guenther
2013-11-26unsigned char cast for ctype; ok guentherTheo de Raadt
2013-07-17more library historyIngo Schwarze
2013-06-05[[:>:]] anchors the character preceding it to end of word, not theJason McIntyre
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-04-17silence some warnings by adding prototypes, casts, and headers asTed Unangst