Modify

Opened 6 years ago

Closed 6 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

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Don-vip

Milestone: 14.11

comment:2 Changed 6 years ago by Don-vip

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.