aboutsummaryrefslogtreecommitdiff
path: root/utils.c
AgeCommit message (Collapse)Author
2022-05-14Changed how tags work, changed Lua API for handling match capturesBruce Hill
2021-09-28Hardening utils (added *end param to avoid going past the end ofBruce Hill
unterminated strings)
2021-09-23WIP: working line breaks, formatting, etc. All seems functional, but aBruce Hill
bit messy
2021-09-23Use strncasecmp and memmem instead of custom logic.Bruce Hill
2021-08-28Style change: added cino=:0 (i.e. case statements on same indentation asBruce Hill
switch). Also fixed issue where $$ would fail to match with trailing newline on file
2021-08-06Improved, cleaner/faster/more flexible return value checksBruce Hill
2021-08-01Cleanup of space/line skipping codeBruce Hill
2021-08-01Changed how definitions workBruce Hill
2021-07-30xfree() -> delete()Bruce Hill
2021-07-30Cleaner checking of stdlib negative returnsBruce Hill
2021-07-30Improved error checkingBruce Hill
2021-07-26Fixed bug where pointer wasn't getting NULLed outBruce Hill
2021-07-19Made escape sequence handling stricter: no longer supporting arbitraryBruce Hill
characters, only special escapes like \n, hex sequences like \x0a, octal sequences like \012, and backslashes \\
2021-05-31Fix compiler warning nitsBruce Hill
2021-01-26Removed check() and replaced with err()/errx()Bruce Hill
2021-01-19Simplified code by disallowing escapes in strings and splittingBruce Hill
stringpatterns into chunks (so unescaped versions don't need to be created)
2021-01-18A few more pedantic cleanupsBruce Hill
2021-01-18More static analysis cleanupBruce Hill
2021-01-18More static analyzer cleanup, including switching to use bools whereBruce Hill
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-17Code cleanup on utilsBruce Hill
2021-01-16Deprecated #(...)# block commentsBruce Hill
2021-01-13Replaced _exit()s with exits()Bruce Hill
2021-01-12Standardizing to line-comments instead of block commentsBruce Hill
2021-01-10Updated more things to use xfree(&foo) instead of free(foo)Bruce Hill
2021-01-10Simplified grammars using intrusive linked lists instead of dynamicBruce Hill
arrays
2020-12-30Fixed some minor issuesBruce Hill
2020-12-30Fully purging "bpeg" from the sourceBruce Hill
2020-12-30Simplified syntax for replacement: just =>, no need for {}Bruce Hill
2020-12-17Better null byte handling, simplified match datastructures, and someBruce Hill
misc. cleanup
2020-12-17Memory allocation failure checks, and a simpler new() functionBruce Hill
2020-12-14Imports cleanup and removing FILE* parameter from jsonBruce Hill
2020-12-14Updated '|' to mean word boundary and \N for nodentBruce Hill
2020-09-28Major improvements to error messagesBruce Hill
2020-09-28Starting to add better error messagesBruce Hill
2020-09-28Fixes for captures and backrefs, and added block commentsBruce Hill
2020-09-16WIPBruce Hill
2020-09-14Added nodent support (|)Bruce Hill
2020-09-13Added null terminator and closed file handlerBruce Hill
2020-09-12Fixes for CLI flagsBruce Hill
2020-09-12Added backrefsBruce Hill
2020-09-11Tightening up the makefile flags and vim modelinesBruce Hill
2020-09-11Major overhaul refactor restructuringBruce Hill