Skip to content

Commit e28dee7

Browse files
committed
fix element regex
1 parent f323147 commit e28dee7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/romaklayt.DynamicFilter.Common/Models/FilterSimpleQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private static (string Path, ElementOperatorEnum Op, string Value)? Parse(string
8989
return null;
9090
}
9191

92-
[GeneratedRegex(@"^(?<path>[\w\.]+)(?<operator>==\*|_-=\*|_=\*|@=\*|_-=|_=|<=|>=|<|>|@=|==)(?<value>.+)$")]
92+
[GeneratedRegex(@"^(?<path>.+)(?<operator>==\*|_-=\*|_=\*|@=\*|_-=|_=|<=|>=|<|>|@=|==)(?<value>.+)$")]
9393
private static partial Regex ParseElementRegex();
9494

9595
[GeneratedRegex(@"^(?<path>[\w\.]+):(?<operator>\w+)\[(?<conditions>.+)\]$")]

0 commit comments

Comments
 (0)