[Kicad-developers] [PATCH] Improve matchDpSuffix() to match a wider range of differential pair names.

2017-06-30 Thread hauptmech
As before but with fewer tabs... diff --git a/pcbnew/router/pns_kicad_iface.cpp b/pcbnew/router/pns_kicad_iface.cpp index 2960f41e2..922a9a7a5 100644 --- a/pcbnew/router/pns_kicad_iface.cpp +++ b/pcbnew/router/pns_kicad_iface.cpp @@ -233,9 +233,9 @@ int PNS_PCBNEW_RULE_RESOLVER::matchDpSuffix(

[Kicad-developers] [PATCH] Improve matchDpSuffix() to match a wider range of differential pair names.

2017-06-29 Thread hauptmech
Includes matching bus line nets with one or two terminating digits as suggested by Tomasz. In addition to the original +/- and _P/_N suffix, we now match: Match .*[PN] ex: ANYNETP <-> ANYNETN Match .*[PN]\d ex: ANYNET_P7 <-> ANYNET_N7 Match .*[PN]\d\d ex: SNETP99 <-> SNETN99 ---