Commit Graph

483 Commits

Author SHA1 Message Date
8ca1efeff9 Slightly ugly hack to fix but where line number got double printed 2021-09-25 00:31:09 -07:00
43911ca583 Updated docs 2021-09-25 00:20:21 -07:00
9e8310705d Added size comparison with LPEG 2021-09-25 00:01:33 -07:00
42e1d4795f Updated readme 2021-09-24 23:58:23 -07:00
0490dc1e06 Updated readme 2021-09-24 23:56:41 -07:00
b00fc15125 Removed file_err() and file_printf() in favor of just inlining some of
the error assertion code. Also eliminated most of the spoof_file() calls
in favor of just using command line arguments directly.
2021-09-24 23:49:22 -07:00
787784c77e Abbreviation 2021-09-24 23:16:06 -07:00
849257dde0 Removed weak optimization for ignorecase skipping 2021-09-24 23:14:38 -07:00
1b777a569e Fixed double line numbering 2021-09-24 23:00:40 -07:00
6c612d4def Updated docs slightly 2021-09-24 22:57:39 -07:00
cfc53ea643 Overhaul of lua API to use tables 2021-09-24 22:55:39 -07:00
0c5c4124a2 Bugfix 2021-09-24 22:54:54 -07:00
3de6de1ffa Added builtins for lua library 2021-09-23 21:19:39 -07:00
0ec89315b4 Removed unneccessary import 2021-09-23 21:01:06 -07:00
6b98401771 Removed print files 2021-09-23 20:53:25 -07:00
0a5f3a6a75 Added ignore rule for .so 2021-09-23 20:52:15 -07:00
6ed610b7a2 Added test file 2021-09-23 20:51:50 -07:00
3a2492d584 WIP: working line breaks, formatting, etc. All seems functional, but a
bit messy
2021-09-23 20:51:04 -07:00
fddba4c54f Merge branch 'master' into fileless_matches 2021-09-23 17:53:17 -07:00
6ab22ad6a9 Bugfix 2021-09-23 17:50:16 -07:00
1727d9b75c Use strncasecmp and memmem instead of custom logic. 2021-09-23 17:46:46 -07:00
04eb92153f WIP 2021-09-23 17:31:21 -07:00
c81601729e Patterns no longer need files.h 2021-09-23 15:42:50 -07:00
1460e6d940 Updated lua code 2021-09-23 15:42:19 -07:00
ce915a5433 Patterns don't need to reference a separate start value anymore 2021-09-23 15:40:45 -07:00
fac3fd9772 Moving pattern lifetime tracking off of files and onto its own list of
allocated pats.
2021-09-23 15:24:08 -07:00
8e1e6572fe Moved type defs into their own files instead of types.h 2021-09-23 15:15:48 -07:00
d20afd10b6 API update: made new_pat() internal and added public bp_backref() to
cover that use case
2021-09-23 14:55:30 -07:00
89c5888dd6 Switched to using an optional type 2021-09-23 14:38:46 -07:00
86404d0ab3 Merge branch 'master' into setjmp 2021-09-23 13:43:56 -07:00
fb67ceb276 Minor BP_ERROR cleanup 2021-09-23 13:43:43 -07:00
e938ecbdcc Merge branch 'master' into setjmp 2021-09-23 13:42:46 -07:00
744a927562 Deprecated (!)-errors 2021-09-23 13:42:23 -07:00
cf99abb852 WIP implementation of setjmp/longjmp recovery 2021-09-23 13:38:20 -07:00
55ff8ec663 WIP 2021-09-23 13:33:22 -07:00
7122dcdc81 Added Lua bindings 2021-09-22 23:51:34 -07:00
f1f60c9dcf Removed cache struct 2021-09-22 23:10:05 -07:00
f2db62cb55 Moved trailing newline guarantee code into bp.c 2021-09-22 22:57:44 -07:00
a712a61e4d Bugfix 2021-09-22 22:10:28 -07:00
d957bd3273 Minor printing cleanups 2021-09-22 21:04:15 -07:00
97b7befdc8 Moved capture retrieval logic into match.c and out of print.c 2021-09-22 20:44:01 -07:00
90c3c13a02 Moving cache logic into match, cleaner next_match() API, and slightly
less tightly coupled UTF8 API
2021-09-21 18:45:43 -07:00
9401facbe7 Minor cleanup 2021-09-19 17:55:26 -07:00
ae7f21b531 Moved capture retrieval logic into print.c 2021-09-19 17:48:00 -07:00
5fa09eb636 Better non-verbose JSON output 2021-09-19 17:38:18 -07:00
09435a8b15 Slight tweak to JSON output 2021-09-19 17:33:40 -07:00
42c75cfd73 Fix for single-arg when it's a directory 2021-09-19 17:08:51 -07:00
393778ffab Shortening \033[0m -> \033[m 2021-09-07 13:39:11 -07:00
f3eb2e99cd Fixes for inplace modifications 2021-09-07 13:38:57 -07:00
58fef531eb Changed non-tty output to BARE instead of PLAIN 2021-09-04 14:09:20 -07:00