Changes between Version 1 and Version 2 of Rules/ChargeRules
- Timestamp:
- 2024-08-13T22:15:28+02:00 (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/ChargeRules
v1 v2 99 99 100 100 /* Comma as decimal separator */ 101 *[charge:conditional=~/(^|\/ ?)[0-9]+,[0-9]/]!.hasSimpleChargeFix, 102 *[charge=~/(^|\/ ?)[0-9]+,[0-9]/]!.hasSimpleChargeFix { 101 *[charge:conditional=~/(^|\/ ?|; ?)[0-9]+,[0-9]/]!.hasSimpleChargeFix, 102 *[charge=~/(^|\/ ?|; ?)[0-9]+,[0-9]/]!.hasSimpleChargeFix { 103 103 throwWarning: tr("unusual value of {0}: use . instead of , as decimal separator", "{0.key}"); 104 104 group: tr("Invalid value of charge"); … … 107 107 assertMatch: "node charge=\"0,223 USD/30.4 m³\""; 108 108 assertMatch: "node charge=\"0.223 USD/30,4 m³\""; 109 assertMatch: "node charge=\"0.223 USD;30,4 USD\""; 109 110 */ 110 111 assertNoMatch: "node charge=\"0.223 USD/30.4 m³\"";
