Modify

Opened 10 years ago

Closed 10 years ago

#10806 closed enhancement (fixed)

MapCSS doesn't support boundary matchers

Reported by: naoliv Owned by: team
Priority: normal Milestone: 14.11
Component: Core validator Version:
Keywords: mapcss Cc:

Description

Was trying to validate something like this:

*[name =~ /\bmotel\b/] {
        throwWarning: tr("foo");
}

but JOSM's MapCSS doesn't support boundary matchers http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#bounds

Change History (2)

comment:1 by Don-vip, 10 years ago

Milestone: 14.11

comment:2 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

In 7761/josm:

fix #10806 - support Java Pattern boundary matchers in MapCSS regex - http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#bounds

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.