0
0

Fix pipe type pattern

This commit is contained in:
Serghei Cebotari 2023-10-13 21:43:23 +03:00
parent 60fbfb5e8c
commit bc2ddd3151

View File

@ -9,7 +9,7 @@ public class DrinkingWaterHeatingPipe : IProductQueryModifier
protected static readonly Regex _diameter =
new(@"([\b\D]|^)?(?<Diameter>16|20|25|32|40|50|63)([\b\D]|$)");
protected static readonly Regex _type =
new(@"([\b\W])(?<Type>бухт|отр|штанг)([\b\w.])");
new(@"([\b\W])(?<Type>бухт|отр|штанг)([\b\w\.\s])");
protected virtual string _title { get; } = string.Empty;
protected virtual Dictionary<int, string> _diameterNames { get; } = new()