summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/regex (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix signature of main()anton2024-07-151-4/+3
|
* userspace: remove vestigial '?' cases from top-level getopt(3) loopscheloha2022-12-041-2/+1
| | | | | | | | | | | | | getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines. Prompted by dlg@. With help from dlg@ and millert@. Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2 ok naddy@ millert@ dlg@
* Two cases of BRE involving counts and backrefs that go wrong andotto2021-04-021-1/+16
| | | | | similar that have no isssues. Reported by Michael Paoli. Failing cases commented out for now.
* Remove unused categories in re_guts; they are written to but never read.millert2020-12-311-39/+2
| | | | From miod@, OK tb@
* Fix an off-by-one error in the marking of the O_CH operator followingmillert2020-12-281-1/+4
| | | | | an OOR2 operator. Also includes a regress test for the issue. From FreeBSD via miod@
* no need to declare "extern optarg" and "extern optind"schwarze2020-02-141-3/+1
| | | | | | when <unistd.h> is included; patch from Jan Stary <hans at stare dot cz>; OK millert
* Define DEF_WEAK like we do for ld.so to fix building this with clang.kettenis2017-04-161-1/+2
| | | | ok millert@, deraadt@
* Fix usage() output and getopt sortingguenther2016-07-131-6/+6
|
* tests for the two segfaults in backref() that were just fixedschwarze2016-05-261-1/+4
|
* Fix an oversight that caused the test program to segfault:schwarze2016-05-261-2/+2
| | | | Don't try to calculate strlen(NULL).
* systematically test all combinations of REG_STARTEND, REG_NEWLINE,schwarze2016-05-261-9/+85
| | | | and REG_NOTBOL with line and word anchors
* support for testing REG_STARTEND together with REG_NOTBOLschwarze2016-05-261-1/+4
|
* fix previous.daniel2014-12-101-2/+4
|
* t_exhaust is too exhaustingderaadt2014-12-091-3/+3
|
* Add support for word anchors \< and \> to regex regression tests.doug2014-09-211-1/+13
| | | | These are copied from the existing [[:<:]] and [[:>:]] tests.
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-3/+1
| | | | ok guenther millert kettenis
* return non-zero on errorotto2011-11-061-4/+6
|
* and clean extra targetotto2011-11-051-1/+2
|
* add exhaust test from netbsdotto2011-11-052-2/+188
|
* fix format strings, sizeof() does not return an intotto2007-09-121-5/+5
|
* use strcspn to properly overwrite '\n' in fgets returned bufferchl2007-09-092-4/+4
| | | | ok moritz@ gilles@
* More test cases involving back-references.otto2004-11-291-2/+12
|
* When running regex regress build a private copy with REDEBUG enabled.millert2004-08-131-3/+4
| | | | That way we get the asserts enabled.
* More nasty cases involving back references.otto2004-08-131-1/+11
|
* Some nasty test cases involving back references that causedotto2004-04-021-1/+6
| | | | unbounded recursion.
* kill bad functions; some sort of ok from marc who is trying to confuse mederaadt2004-02-282-7/+7
|
* various cleanups; david says results are samederaadt2003-07-313-23/+22
|
* Rename a bunch of the old bsd.regress.mk variables into the new ones.avsm2002-09-021-2/+2
| | | | ok art@
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-162-13/+13
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* trivial conversions to bsd.regress.mkart2002-01-011-4/+7
|
* Fix regression testericj2001-02-041-2/+2
|
* $OpenBSD$niklas2001-01-296-0/+6
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-2/+2
|
* -Wall madness.millert1996-12-212-4/+7
|
* initial import of NetBSD treederaadt1995-10-187-0/+1604