Merge pull request #902 from jondaniels/calc_fix

added various operator keywords to calculator
This commit is contained in:
bao-qian 2016-08-04 21:31:13 +01:00 committed by GitHub
commit 3441482e8c

View File

@ -10,7 +10,8 @@ namespace Wox.Plugin.Caculator
{
private static Regex regValidExpressChar = new Regex(
@"^(" +
@"sin|cos|ceil|floor|exp|pi|max|min|det|arccos|abs|" +
@"ceil|floor|exp|pi|e|max|min|det|abs|log|ln" +
@"sin|cos|tan|arcsin|arccos|arctan|" +
@"eigval|eigvec|eig|sum|polar|plot|round|sort|real|zeta|" +
@"bin2dec|hex2dec|oct2dec|" +
@"==|~=|&&|\|\||" +