Ignore:
Timestamp:
2009-06-27T12:37:10+02:00 (15 years ago)
Author:
stoecker
Message:

fixed some design issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

    r1614 r1706  
    3737                    "^(" + a + "|" + b + ")(" + SEPARATOR + "|$)",
    3838                    Pattern.CASE_INSENSITIVE);
    39             endPattern = Pattern.compile(
     39            endPattern = Pattern.compile("^.*" +
    4040                    SEPARATOR + "(" + a + "|" + b + ")$",
    4141                    Pattern.CASE_INSENSITIVE);
     
    6464            new PrefixSuffixSwitcher[] {
    6565                new PrefixSuffixSwitcher("left", "right"),
    66                 new PrefixSuffixSwitcher("forward", "backward")
     66                new PrefixSuffixSwitcher("forward", "backward"),
     67                new PrefixSuffixSwitcher("forwards", "backwards")
    6768            };
    6869
Note: See TracChangeset for help on using the changeset viewer.