Merge pull request #89 from awegg/master

Fix issue with spaces after comma and or filters
This commit is contained in:
Ashish Patel
2020-10-23 00:43:05 +05:30
committed by GitHub
2 changed files with 18 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ namespace Sieve.Models
where TFilterTerm : IFilterTerm, new()
where TSortTerm : ISortTerm, new()
{
private const string EscapedCommaPattern = @"(?<!($|[^\\])(\\\\)*?\\),";
private const string EscapedCommaPattern = @"(?<!($|[^\\])(\\\\)*?\\),\s*";
[DataMember]
public string Filters { get; set; }