From 69c1b849a7430d25506f26a3c8f51e24bad74249 Mon Sep 17 00:00:00 2001 From: Randall White Date: Mon, 27 Jun 2022 14:59:08 -0600 Subject: [PATCH] fix(plugin-calc): Improve regex to support more inputs This addition fixes https://github.com/pop-os/launcher/issues/126 --- plugins/src/calc/plugin.ron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/src/calc/plugin.ron b/plugins/src/calc/plugin.ron index 76bc3c5..8eba8af 100644 --- a/plugins/src/calc/plugin.ron +++ b/plugins/src/calc/plugin.ron @@ -2,7 +2,7 @@ name: "Calculator with unit conversion (uses Qalculate! expressions)", description: "Syntax: = \nExample: = 10 J / (196x^2) = 4 kW/s", query: ( - regex: "^[=\\-0-9].*", + regex: "^[=\\-0-9|(-0-9)].*", help: "= ", priority: High, isolate_with: "^(=).*",