Commit Graph

54 Commits

Author SHA1 Message Date
5a6d4e4b8b Deprecate JSON output format 2024-06-23 19:23:02 -04:00
e6e482054d Deprecate '-p' flag and replace backslash interpolation with curly brace
interpolation
2023-11-25 14:57:19 -05:00
56da250d69 Split backref/named captures into separate concepts for performance
reasons.
2022-05-12 12:11:28 -04:00
e484a88815 Added image 2022-05-05 00:50:38 -04:00
4a2a71d4d8 Updated docs 2022-04-30 15:26:58 -04:00
326a0b960c Moving print logic out of match.c and renaming explain -> printmatch 2022-04-09 14:15:07 -04:00
2143a44b9c Updated readme 2021-09-28 17:02:25 -07:00
0490dc1e06 Updated readme 2021-09-24 23:56:41 -07:00
d44806f746 Moved tutorial info up 2021-08-28 14:27:27 -07:00
16bf40bd64 Added tests/tutorial 2021-08-28 14:26:32 -07:00
5eb905b01f Deprecated --confirm flag 2021-08-06 12:50:57 -07:00
70f7f8c495 Added -B and -A options to match grep 2021-08-02 12:25:52 -07:00
db3c88d16b Context flag: -c -> -C (to match grep), and confirm flag: -C -> -c 2021-08-02 11:45:01 -07:00
53ccb56542 Updated perf notes 2021-08-01 22:06:45 -07:00
1a84ddbaa9 Fixed layout links 2021-08-01 21:42:04 -07:00
0f7a774712 Markdown test 2021-08-01 21:39:21 -07:00
07497c020b Added code layout 2021-08-01 21:38:20 -07:00
ba6ee18ded Added strict mode for upto operator: ..=Abc 2021-07-30 19:24:35 -07:00
711fe47a7f Overhaul of word boundaries/edges. Now they use \b, which is implemented
in C, and the C code understands UTF8 id chars.
2021-07-19 19:40:43 -07:00
0f05961578 Simplified backrefs by only doing direct substring matching instead of
accounting for replacement strings.
2021-07-17 13:54:26 -07:00
416484a636 Switched /etc/xdg/bp -> /etc/bp 2021-07-03 21:43:56 -07:00
355e06a58e Added ~ and !~ operators as replacements for == and != 2021-05-19 23:41:57 -07:00
6eab931c27 Moved settings into a struct 2021-05-12 20:33:27 -07:00
f6bb376d1b Added --color flag 2021-05-12 19:20:58 -07:00
a93220972f Overhaul of |-word boundaries (| is deprecated), performance
improvements for repeating matches, tweaks to the logic of word vs. id
2021-05-11 12:38:58 -07:00
e6aafbc1ac Updated readme 2021-05-10 23:49:17 -07:00
c46a8227d0 Added --skip flag for skipping over patterns 2021-01-20 16:12:46 -08:00
b4c8a33a0c Tweaked .. syntax to make it more flexible (now: .. % skip pat) 2021-01-20 15:23:57 -08:00
ab275800b3 Removed outdated '?' documentation 2021-01-19 23:30:50 -08:00
e82fcefac8 Added perf notes 2021-01-18 12:53:44 -08:00
ff928690bb Added documentation for grammars 2021-01-17 22:35:34 -08:00
3cc645f2d0 Improved argument parsing and added support for prompting user for a
pattern if none is provided
2021-01-17 13:33:10 -08:00
58af933f4e Added --git/-G 2021-01-17 09:21:58 -08:00
a7e3e421db Deprecated #(...)# block comments 2021-01-16 10:39:09 -08:00
d31d2e8985 Added interactive confirmation mode for replacing text 2021-01-15 18:23:18 -08:00
ce1868d707 Added support for bp -p 'foo: "xx"; baz; baz: foo' 2021-01-15 12:40:19 -08:00
8ff80b09cc Major overhaul of how different modes of behavior work. Approximately 2x
speedup and 2x memory footprint reduction. Also removed --mode and
VM_HIDE (~ operator), and added --context. Printing works better now.
2021-01-15 01:19:10 -08:00
4350d996d1 Simplified ... to ..%\n and $. to ./\n 2021-01-05 00:09:30 -08:00
ff2ef95041 Fully purging "bpeg" from the source 2020-12-30 19:42:47 -08:00
a07da1989d Simplified syntax for replacement: just =>, no need for {} 2020-12-30 15:30:19 -08:00
7d4bc36949 Added in-place filtering/replacements 2020-12-27 19:48:52 -08:00
c28e647259 Added `a,b,c support 2020-12-19 18:53:51 -08:00
40be243004 Updated docs 2020-12-17 16:23:45 -08:00
6c3654161c Better arg parsing 2020-12-14 22:32:47 -08:00
eb329bdac9 Bunch of changes, including some bpeg->bp renaming, and adding
visualizations
2020-12-12 16:31:53 -08:00
90b8db84a4 Moved */+ back to prefix, and dropped ? 2020-09-28 18:08:23 -07:00
699e7c8b98 Added != 2020-09-28 17:56:02 -07:00
544a88e9d4 Added +/*/? postfix operators 2020-09-28 17:42:38 -07:00
c15b118bb4 Added link to commons clause 2020-09-28 17:02:34 -07:00
bd5074935a Clarifying license 2020-09-28 17:01:53 -07:00