aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
AgeCommit message (Expand)Author
2024-05-28Rename 'Match' macro to avoid confusionBruce Hill
2024-05-28Tweak default visibility settingsBruce Hill
2024-02-11Bugfix for string literals and add support for printing patterns withBruce Hill
2023-11-27Fix "-w" flag and fix optimization for skipping to matchBruce Hill
2023-11-25Deprecate '-p' flag and replace backslash interpolation with curly braceBruce Hill
2023-05-06Use tagged union style for extra safety and concisionBruce Hill
2022-10-26MicrooptimizationsBruce Hill
2022-05-14Changed how tags work, changed Lua API for handling match capturesBruce Hill
2022-05-14Bugfix for (Foo: :X blah) parsing as (Foo:: X blah)Bruce Hill
2022-05-14Allow optional colon for :Tag:fooBruce Hill
2022-05-14Added :tagBruce Hill
2022-05-12Split backref/named captures into separate concepts for performanceBruce Hill
2022-05-05Fix for source code ranges of suffix patternsBruce Hill
2022-05-02Updated Make rules so default is `bp`Bruce Hill
2022-04-30Added tagged definitions: `foo:: blah`Bruce Hill
2022-04-30Simplified things by passing a def argument to next_match instead ofBruce Hill
2022-04-27Later-chained defs take precedence over more recently chained defsBruce Hill
2022-04-21Made NULL end values default to strlen()Bruce Hill
2021-09-28Hardening utils (added *end param to avoid going past the end ofBruce Hill
2021-09-27Removed definitions as a separate type and instead encode that value inBruce Hill
2021-09-26Refactor of pat_t memory management to use doubly linked lists, andBruce Hill
2021-09-26Minor cleanupsBruce Hill
2021-09-24BugfixBruce Hill
2021-09-23Patterns no longer need files.hBruce Hill
2021-09-23Patterns don't need to reference a separate `start` value anymoreBruce Hill
2021-09-23Moving pattern lifetime tracking off of files and onto its own list ofBruce Hill
2021-09-23Moved type defs into their own files instead of types.hBruce Hill
2021-09-23API update: made new_pat() internal and added public bp_backref() toBruce Hill
2021-09-23Switched to using an optional typeBruce Hill
2021-09-23Merge branch 'master' into setjmpBruce Hill
2021-09-23Deprecated (!)-errorsBruce Hill
2021-09-23WIP implementation of setjmp/longjmp recoveryBruce Hill
2021-09-21Moving cache logic into match, cleaner next_match() API, and slightlyBruce Hill
2021-08-28Style change: added cino=:0 (i.e. case statements on same indentation asBruce Hill
2021-08-23Add support for {strings}Bruce Hill
2021-08-02Bugfix for postfix operatorsBruce Hill
2021-08-01Cleanup of space/line skipping codeBruce Hill
2021-08-01Changed how definitions workBruce Hill
2021-07-30Added | as alias for \bBruce Hill
2021-07-30Added strict mode for upto operator: ..=AbcBruce Hill
2021-07-30Ergonomic improvement: xcalloc -> new(), xrealloc -> grow()Bruce Hill
2021-07-29Fix for bug in char pattern start posBruce Hill
2021-07-29Tweaks and optimizationsBruce Hill
2021-07-26Performance improvements for cachingBruce Hill
2021-07-26Introduced cache to greatly speed up many use casesBruce Hill
2021-07-19Error reporting bugfixBruce Hill
2021-07-19Made escape sequence handling stricter: no longer supporting arbitraryBruce Hill
2021-07-19Overhaul of word boundaries/edges. Now they use \b, which is implementedBruce Hill
2021-07-17Added support for multiple escape sequences: \n,r,tBruce Hill
2021-05-22Minor splint fixesBruce Hill