Skip to content

Commit abd9bd5

Browse files
author
Sébastien Geiser
committed
correction expression detection
1 parent 06a408a commit abd9bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RegexDialog/Model/ExcelSheetSelection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class ExcelSheetSelection : NotifyPropertyChangedBaseClass
1212
private readonly static Regex simpleColumnRegex = new Regex("^[A-Z]+$", RegexOptions.Compiled);
1313
private readonly static Regex simpleRowRegex = new Regex("^[1-9][0-9]*$", RegexOptions.Compiled);
1414
private readonly static Regex rangeRegex = new Regex("^[A-Z]+([1-9][0-9]*)?:[A-Z]+([1-9][0-9]*)?|[1-9][0-9]*:[1-9][0-9]*$", RegexOptions.Compiled);
15-
private readonly static Regex evaluatedExpressionRegex = new Regex(@"\{(?<expression>[^\}])\}", RegexOptions.Compiled | RegexOptions.IgnoreCase);
15+
private readonly static Regex evaluatedExpressionRegex = new Regex(@"\{(?<expression>[^\}]*)\}", RegexOptions.Compiled);
1616

1717
public bool IsSelected { get; set; } = true;
1818
public string Name { get; set; } = string.Empty;

0 commit comments

Comments
 (0)