summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
AgeCommit message (Expand)AuthorFilesLines
2021-01-03Make CHIN() Boolean-valued and use this to turn an expression with atb2-5/+5
2021-01-03Turn macros into inline functions so that there is no need to document intb1-5/+21
2021-01-02Remove two now-unused functions; a result of the categories removal.millert1-39/+2
2020-12-31More regular error handling with the REQUIRE macro.millert1-5/+4
2020-12-31Remove unused categories in re_guts; they are written to but never read.millert2-45/+3
2020-12-31Strings in struct parse can be const, they are never modified.millert1-15/+11
2020-12-30regcomp.c uses the "start + count < end" idiom to check that there aretb1-13/+15
2020-12-30Constify the strings in regerror.c and make use of the strlcpy()tb1-14/+14
2020-12-30cclasses[] multis field is always an empty string. Remove it and codetb3-88/+16
2020-12-30Constify the strings in cnames[]. No functional change.tb2-5/+5
2020-12-28Fix an off-by-one error in the marking of the O_CH operator followingmillert1-2/+2
2020-10-13Do some easy .data -> .rodata/.data.rel.ro conversionsguenther2-10/+10
2019-02-05Fix typo in last commit.millert1-2/+2
2019-02-05Avoid an out of bounds read when regcomp() is passed a bad expression.millert1-1/+5
2018-07-11Drop a const-bomb on regexec. It's probably not a good idea to remove amartijn2-56/+63
2017-10-30fix oob read; form llvm via Vlad Tsyrklevich; ok millert@otto1-3/+3
2016-12-22Clarify code by eliminating unused #define's MUSTSEE, MUSTNOTSEE and inliningkrw1-6/+3
2016-12-21Adopt relevant part of NetBSD's r1.7 commit to discard unused results of thekrw1-2/+2
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsguenther2-5/+4
2016-05-26Change the way regexec handles REG_STARTEND combined with REG_NOTBOL.martijn2-20/+62
2016-05-25KNF with respect to indentation; no code changeschwarze1-28/+27
2016-05-25Fix another one-byte buffer underflow (read access only).schwarze1-7/+4
2016-05-17Fix a one-byte buffer underflow (read access only).schwarze1-4/+4
2016-05-04Remove old cruft.zhuk1-95/+0
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-3/+1
2015-12-28Remove NULL-checks before free() and needless argument casts.mmcc1-5/+3
2015-12-28Remove NULL-checks before free() and unnecessary argument casts.mmcc1-8/+5
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc2-6/+4
2015-11-10update NAME section to include all documented functions,jmc1-3/+3
2015-11-01delete old lint ARGSUSED commentsguenther2-5/+2
2015-09-14Avoid .Ns right after .Pf, it's pointless.schwarze1-3/+3
2015-09-14Wrap <langinfo.h> and <regexp.h> so internal calls go direct andguenther1-1/+2
2015-02-28Reduce usage of predefined strings in manpages.bentley1-6/+6
2014-12-09put back some information what the character classes actually mean;schwarze1-2/+5
2014-12-09no more ctype(3);jmc1-7/+4
2014-10-18reallocarray() -- a little tricky to reviewderaadt1-3/+3
2014-10-11Userland reallocarray() audit.doug1-2/+3
2014-10-09use reallocarray(NULL, a, b) instead of malloc(a, b), which gives usderaadt1-5/+5
2014-09-10zap trailing whitespace;jmc1-3/+3
2014-09-10document \<word\> as being non standardjsg1-2/+8
2014-09-08add \<word\> support to regcomp. prompted by renewed interest from jsgtedu1-2/+28
2014-05-06reallocarray for things which are arrays. ok deraadttedu1-8/+8
2014-01-22Use consistent phrasing for bitmask flags.guenther1-5/+6
2014-01-21obvious .Pa fixes; found with mandocdb(8)schwarze1-3/+3
2013-11-28The print() routine here can be passed at least some of the non-charactersguenther1-6/+17
2013-11-26unsigned char cast for ctype; ok guentherderaadt1-2/+2
2013-07-17more library historyschwarze1-4/+13
2013-06-05[[:>:]] anchors the character preceding it to end of word, not thejmc1-3/+3
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu1-4/+4
2013-04-17silence some warnings by adding prototypes, casts, and headers astedu5-11/+14