Update G1 Manifold regex
This commit is contained in:
parent
2ca3dd6a3f
commit
eb8fe4484c
@ -6,7 +6,7 @@ namespace RhSolutions.MLModifiers.DrinkingWaterHeatingFittings;
|
||||
public class ManifoldG1 : DrinkingWaterHeatingFitting
|
||||
{
|
||||
private static readonly Regex _portsCount =
|
||||
new(@"([\b\D]|^)?(?<Ports>2|3|4)([\b\D]|$)");
|
||||
new(@"\b(?<Ports>\d{1})\b");
|
||||
|
||||
protected override string _title => "Распределительный коллектор G1";
|
||||
|
||||
@ -24,4 +24,4 @@ public class ManifoldG1 : DrinkingWaterHeatingFitting
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user