~sircmpwn/public-inbox

himitsu: query::parse_items: update per regex API change v1 APPLIED

Eyal Sawady: 1
 query::parse_items: update per regex API change

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/32105/mbox | git am -3
Learn more about email & git

[PATCH himitsu] query::parse_items: update per regex API change Export this patch

---
 himitsu/query/parse.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/himitsu/query/parse.ha b/himitsu/query/parse.ha
index 4aa47c4..5fb29cb 100644
--- a/himitsu/query/parse.ha
+++ b/himitsu/query/parse.ha
@@ -67,7 +67,7 @@ export fn parse_items(items: []str) (query | invalid) = {
		};
		key = strings::trim(key, '?', '!');

		match (regex::find(keyre, key)!) {
		match (regex::find(&keyre, key)!) {
		case let group: []regex::matchgroup =>
			// XXX: https://todo.sr.ht/~sircmpwn/hare/628
			regex::freeall(alloc([group]));
-- 
2.36.0
Thanks!

To git@git.sr.ht:~sircmpwn/himitsu
   66fd28d..4855602  master -> master