fix(plugin-calc): Improve regex to support more inputs

This addition fixes https://github.com/pop-os/launcher/issues/126
This commit is contained in:
Randall White 2022-06-27 14:59:08 -06:00 committed by GitHub
parent 3f8253ad76
commit 69c1b849a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
name: "Calculator with unit conversion (uses Qalculate! expressions)",
description: "Syntax: = <expression>\nExample: = 10 J / (196x^2) = 4 kW/s",
query: (
regex: "^[=\\-0-9].*",
regex: "^[=\\-0-9|(-0-9)].*",
help: "= ",
priority: High,
isolate_with: "^(=).*",