Skip to content

Commit 26a1e34

Browse files
committed
Extend character set of function names (including ".")
1 parent 81572f2 commit 26a1e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal static bool TryGetFormulaInfo(string formulaPrefix, out string function
2222

2323
if (lastOpeningParenthesis > -1)
2424
{
25-
var match = Regex.Match(formulaPrefix.Substring(0, lastOpeningParenthesis), @"[^\w](?<functionName>\w*)$");
25+
var match = Regex.Match(formulaPrefix.Substring(0, lastOpeningParenthesis), @"[^\w.](?<functionName>[\w.]*)$");
2626
if (match.Success)
2727
{
2828
functionName = match.Groups["functionName"].Value;

0 commit comments

Comments
 (0)