We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b18b61 + 9ffd3a2 commit 098b2beCopy full SHA for 098b2be
Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs
@@ -17,6 +17,12 @@ static class FormulaParser
17
internal static bool TryGetFormulaInfo(string formulaPrefix, out string functionName, out int currentArgIndex)
18
{
19
Debug.Assert(formulaPrefix != null);
20
+
21
+ if (formulaPrefix.Count(c => c == '\"') % 2 != 0)
22
+ {
23
+ formulaPrefix = string.Concat(formulaPrefix, '\"');
24
+ }
25
26
formulaPrefix = Regex.Replace(formulaPrefix, "(\"[^\"]*\")|(\\([^\\(\\)]*\\))| ", string.Empty);
27
28
while (Regex.IsMatch(formulaPrefix, "\\([^\\(\\)]*\\)"))
0 commit comments