0
0

Fix sleeves regex pattern

This commit is contained in:
Serghei Cebotari 2023-09-29 11:19:41 +03:00
parent 5e28f428f8
commit 3317e20358

View File

@ -6,7 +6,7 @@ namespace RhSolutions.Api.Services
{ {
public class SleeveQueryModifier : IProductQueryModifier public class SleeveQueryModifier : IProductQueryModifier
{ {
private readonly string pattern = @"(\b16|20|25|32|40|50|63\b)+"; private readonly string pattern = @"\b(16|20|25|32|40|50|63)\b";
public bool TryQueryModify(IQueryCollection collection, out QueryString queryString) public bool TryQueryModify(IQueryCollection collection, out QueryString queryString)
{ {