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.
1 parent a2c268d commit 9ffd3a2Copy full SHA for 9ffd3a2
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