Skip to content

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

Alexander Lohnau requested to merge work/alex/calculator_prefix into master

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()" is enforced using a regex.

BUG: 467418

Merge request reports

Loading