Skip to content
Commit 4cddacf8 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

runners/calculator: Do not require "=" prefix for known functions

This utilized the qalculate API to get a function by its name.
In case the function is not known, we get a nullptr and return false in
our helper function.

To avoid unintended results, the syntax of "functionname(<argument>)" is
enforced using a regex.

BUG: 467418
parent 6ff844d5
Pipeline #388508 passed with stage
in 13 minutes and 51 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment