Commit Graph

592 Commits

Author SHA1 Message Date
f271863601 Rename 'pat_t' -> 'bp_pat_t' 2024-05-29 13:12:34 -04:00
1597b34a95 Move more non-public macros out of header 2024-05-28 02:06:38 -04:00
2ec9f76b72 Rename 'Match' macro to avoid confusion 2024-05-28 02:05:57 -04:00
acdb6ff91b Add shadow warning 2024-05-28 02:00:39 -04:00
952b55fbdb Fix variable shadowing 2024-05-28 02:00:14 -04:00
31649edc77 Add some fixes and compiler flags 2024-05-28 01:59:03 -04:00
59c5470ade Tweak default visibility settings 2024-05-28 01:56:13 -04:00
1dd05d2d18 Include fewer files in libbp 2024-05-28 01:48:58 -04:00
96d23f1bf3 Light cleanup of utils 2024-05-28 01:41:07 -04:00
4fbc4288fd Update test rule 2024-05-28 01:12:24 -04:00
5f49677d76 Bugfix for string literals and add support for printing patterns with
--verbose
2024-02-11 16:46:07 -05:00
8041d3047c Bugfix for slash-normalization in filenames 2024-02-04 21:04:43 -05:00
47a81dfb64 Use strcasestr() when ignoring case, which improves performance 2024-01-26 13:25:08 -05:00
18bb2575ca Smart case by default 2024-01-15 16:25:01 -05:00
3a728b28df Fix "-w" flag and fix optimization for skipping to match 2023-11-27 14:20:43 -05:00
e6e482054d Deprecate '-p' flag and replace backslash interpolation with curly brace
interpolation
2023-11-25 14:57:19 -05:00
e0a55ba617 Format specifiers for size_t should be %zu instead of %lu 2023-10-15 12:47:26 -04:00
6235f81a3f Slightly normalize file paths to strip // 2023-08-26 17:55:26 -04:00
6ce581173f Fix Lua module 2023-05-16 20:05:48 -04:00
05dcacd94a Respect $NO_COLOR 2023-05-16 20:03:11 -04:00
68f6218444 Fix domains to require a TLD (but allow non-tld domains like "localhost"
in URLS)
2023-05-06 13:56:48 -04:00
6f5bb02b92 Use tagged union style for extra safety and concision 2023-05-06 13:43:32 -04:00
0050a6fc06 Add number of characters printed to fprint_match() 2022-12-27 14:43:10 -05:00
3ed2c19594 Use #pragma once 2022-11-07 22:54:59 -05:00
372eb2647f Added a column getter 2022-11-03 12:55:01 -04:00
611cf8441a Fixing up more edge cases for retrieving captures 2022-10-30 17:01:17 -04:00
b306f72050 Another fix to numbered captures 2022-10-30 16:50:19 -04:00
3296ce42d9 Fix for numbered capture logic 2022-10-27 20:23:51 -04:00
69740ed659 Fix json output 2022-10-27 20:19:21 -04:00
07f335f367 Fix for getting @1 from a tagged capture 2022-10-27 13:38:19 -04:00
3fdd5211d9 Facilitate memory cleanup 2022-10-27 13:24:35 -04:00
e258645a52 Better error handling behavior 2022-10-27 13:17:23 -04:00
54e87ff91e Reapply fix for compiler warning 2022-10-27 12:52:05 -04:00
951a68f449 Pulling back bugfix 2022-10-27 12:50:32 -04:00
2bc0ca7390 Revert "Moving to each_match() API"
This reverts commit 9380a54d7c.
2022-10-27 12:49:31 -04:00
538706858e Bugfix 2022-10-27 00:05:30 -04:00
f29bf54ffb Fix warning 2022-10-26 20:28:16 -04:00
645081f64e Fixed lua to work with new API 2022-10-26 20:26:58 -04:00
9380a54d7c Moving to each_match() API 2022-10-26 20:12:18 -04:00
ed737a76ba Fix for profiling 2022-10-26 19:30:04 -04:00
0e0269def1 Added new profile 2022-10-26 19:28:57 -04:00
9e07e08a48 Microoptimizations 2022-10-26 13:38:38 -04:00
6b8f1a09d0 Added profile rule 2022-10-26 13:19:38 -04:00
302bfa11e7 Bugfix 2022-10-23 00:34:20 -04:00
5db008dbd2 Better JSON printing and fixed issue with numbered captures 2022-10-23 00:15:49 -04:00
23c64e386c Changed how tags work, changed Lua API for handling match captures 2022-05-14 22:43:13 -04:00
5fd2f6b8c5 Bugfix for (Foo: :X blah) parsing as (Foo:: X blah) 2022-05-14 16:04:07 -04:00
ca89d65513 Better error handling 2022-05-14 16:01:37 -04:00
563ecf332e Allow optional colon for :Tag:foo 2022-05-14 15:21:05 -04:00
2988080c32 Added :tag 2022-05-14 15:18:54 -04:00