Ignore:
Timestamp:
2018-06-28T00:08:28+02:00 (18 months ago)
Author:
Don-vip
Message:

fix #16432 - Exclude names differing by roman numbers in Similarly named ways check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java

    r13836 r13980  
    5353        // See https://josm.openstreetmap.de/ticket/3733#comment:19
    5454        addRegExprRule("\\pN+", "0"); // Unicode numbers: matches "Highway 66" but also persian numbers
     55        addRegExprRule("M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$", "0"); // Roman numbers: matches "Building II"
    5556        addRegExprRule("\\d+(st|nd|rd|th)", "0st"); // 3rd Ave
    5657        addRegExprRule("^[A-Z] ", "X"); // E Street
Note: See TracChangeset for help on using the changeset viewer.