Merge pull request #2473 from NoPlagiarism/calc_add_funcs

[Calculator] Allow more functions to be used
This commit is contained in:
Kevin Zhang 2024-01-15 15:28:47 -07:00 committed by GitHub
commit 996fb08e98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ namespace Flow.Launcher.Plugin.Caculator
@"sin|cos|tan|arcsin|arccos|arctan|" +
@"eigval|eigvec|eig|sum|polar|plot|round|sort|real|zeta|" +
@"bin2dec|hex2dec|oct2dec|" +
@"factorial|sign|isprime|isinfty|" +
@"==|~=|&&|\|\||" +
@"[ei]|[0-9]|[\+\-\*\/\^\., ""]|[\(\)\|\!\[\]]" +
@")+$", RegexOptions.Compiled);