aboutsummaryrefslogtreecommitdiff
path: root/match.c
AgeCommit message (Collapse)Author
2021-05-31Fix compiler warning nitsBruce Hill
2021-05-31Moved utf8 code into a C file, fixed some potential null deref issuesBruce Hill
2021-05-31Added warning flag for null derefsBruce Hill
2021-05-22Fixes for replacements with or without patterns/replacement stringsBruce Hill
2021-05-20Renamed file_t.contents -> file_t.start, added file_t.memory forBruce Hill
canonical tracking of memory for mmap, simplified json printing, and added support for initiating searches on a specific line (and/or column).
2021-05-20Cleanup, perf fixes, and setting an endpoint for backtrack matches (atBruce Hill
the current position).
2021-05-20BugfixesBruce Hill
2021-05-20Mostly working versionBruce Hill
2021-05-20Added (!) syntax for errors with proper opcode supportBruce Hill
2021-05-19Added ~ and !~ operators as replacements for == and !=Bruce Hill
2021-05-11Overhaul of |-word boundaries (| is deprecated), performanceBruce Hill
improvements for repeating matches, tweaks to the logic of word vs. id
2021-05-11Converted ^/^^/$/$$ into pattern types instead of builtin definitionsBruce Hill
2021-03-15Fix for being unable to match patterns on zero-length files (or at theBruce Hill
end of a file)
2021-01-26Cleaned up some error codeBruce Hill
2021-01-26Removed check() and replaced with err()/errx()Bruce Hill
2021-01-20Added --skip flag for skipping over patternsBruce Hill
2021-01-20Tweaked `..` syntax to make it more flexible (now: `.. % skip pat`)Bruce Hill
2021-01-18More bools, because why notBruce Hill
2021-01-18A few more pedantic cleanupsBruce Hill
2021-01-18More static analysis cleanupBruce Hill
2021-01-18More static analyzer cleanupBruce Hill
2021-01-18More static analyzer cleanup, including switching to use bools whereBruce Hill
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-18Checking more return values (per static analyzer)Bruce Hill
2021-01-18Static analysis part 1Bruce Hill
2021-01-17Updated REF and CAPTURE types to store direct pointers to names (with aBruce Hill
len size_t) instead of allocating memory.
2021-01-17Updated the behavior of !=/== to only consider exact, full-text matchesBruce Hill
instead of prefix matches
2021-01-17Improved argument parsing and added support for prompting user for aBruce Hill
pattern if none is provided
2021-01-16Renamed VM_ to BP_Bruce Hill
2021-01-15Sorting importsBruce Hill
2021-01-15Moved pattern code into the right fileBruce Hill
2021-01-15Renamed grammar -> definitionsBruce Hill
2021-01-15Renamed vm->matchBruce Hill