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:
parent
3f8253ad76
commit
69c1b849a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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: "^(=).*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue