Skip to content

Commit 1f99d0d

Browse files
authored
Merge pull request #2493 from NoPlagiarism/calc_add_operators
[Calculator] Add comparison operators & remainder
2 parents 81bfd75 + 1020320 commit 1f99d0d

File tree

1 file changed

+2
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.Calculator

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Calculator/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public class Main : IPlugin, IPluginI18n, ISettingProvider
2020
@"eigval|eigvec|eig|sum|polar|plot|round|sort|real|zeta|" +
2121
@"bin2dec|hex2dec|oct2dec|" +
2222
@"factorial|sign|isprime|isinfty|" +
23-
@"==|~=|&&|\|\||" +
24-
@"[ei]|[0-9]|[\+\-\*\/\^\., ""]|[\(\)\|\!\[\]]" +
23+
@"==|~=|&&|\|\||(?:\<|\>)=?|" +
24+
@"[ei]|[0-9]|[\+\%\-\*\/\^\., ""]|[\(\)\|\!\[\]]" +
2525
@")+$", RegexOptions.Compiled);
2626
private static readonly Regex RegBrackets = new Regex(@"[\(\)\[\]]", RegexOptions.Compiled);
2727
private static Engine MagesEngine;

0 commit comments

Comments
 (0)