Changeset 14325 in josm for trunk


Ignore:
Timestamp:
2018-10-13T22:40:54+02:00 (8 months ago)
Author:
Don-vip
Message:

fix #16837 - document how to write case-insensitive Overpass Wizard queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryWizardDialog.java

    r14119 r14325  
    237237                        "can be used, and instead of \"and\" - \"&\", \"&&\"."))
    238238                .append(SPAN_END)
    239                 .append(TD_END).append(TR_END).append("</table>")
     239                .append(TD_END).append(TR_END)
     240                .append(TR_START).append(TD_START)
     241                .append(Utils.joinAsHtmlUnorderedList(Arrays.asList(
     242                        tr("<i>ref ~ \"[0-9]+\"</i>"), tr("<i>name ~ /postnord/i in sweden</i>"))))
     243                .append(TD_END).append(TD_START)
     244                .append(SPAN_START)
     245                .append(tr("Regular expressions can be provided either as plain strings or with the regex notation. " +
     246                        "The modifier \"i\" makes the match case-insensitive"))
     247                .append(SPAN_END)
     248                .append(TD_END).append(TR_END)
     249                .append("</table>")
    240250                .append("</body>")
    241251                .append("</html>")
Note: See TracChangeset for help on using the changeset viewer.