aboutsummaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)AuthorFilesLines
14 daysupdated READMERobin Haberkorn1-0/+3
2026-06-29implemented tere_set_is_interrupted_cb()Robin Haberkorn1-5/+3
Allows you to set up a callback that's invoked repeatedly during matching. If it returns non-0 matching will abort and REG_EINTR is returned. Allows you to interrupt long-running regexp executions that would otherwise block the UI or hang the entire application.
2026-06-27re_free() and re_error() have also been renamed to tere_free() and ↵Robin Haberkorn1-1/+3
tere_error() for consistency The headers still define regfree() and regerror() functions, but they shouldn't collide with libc unless you include the POSIX regex.h. Also tere_free() can now be called on nullified regex_t objects, which eases error handling a bit.
2026-06-27implemented REG_ANCHORED execution flagRobin Haberkorn1-0/+1
* So you can anchor executions of already compiled patterns. In principle REG_BOSONLY could also be handled by the same code. * Required by SciTECO. * Test suite has been fixed and extended. The test program now takes getopt() style short arguments to specify flags.
2026-06-27renamed re_comp() to tere_comp() and re_exec() to tere_exec()Robin Haberkorn1-2/+4
Fixes inclusion into programs that also include unistd.h on BSD, which also provides re_comp() and re_exec() implementations.
2026-06-27REG_RAW is a pure re_comp() flag nowRobin Haberkorn1-1/+1
I missed the possibility to query the compilation flags from the execution variables.
2026-06-26added new project READMERobin Haberkorn1-0/+41
The original hsrex README has been re-added as README.old.