Changes between Version 88 and Version 89 of Help/Dialog/Filter


Ignore:
Timestamp:
2024-08-11T14:09:17+02:00 (16 months ago)
Author:
HikeAndMap
Comment:

adding a bit more to the regex as a starting point for others to use regex properly, took me also a while. (I know this can be done different, I felt this helps others better as an example to show how to use and regex and nesting it with OR and AND logical operators

Legend:

Unmodified
Added
Removed
Modified
  • Help/Dialog/Filter

    v88 v89  
    8686|| `public_transport | puj\:platform | ((public_transport | highway) & -(highway=footway | highway=steps | highway=track | highway=street_lamp | highway=path | highway=crossing | highway=turning_circle) & (nth%:1 & (role: | role:stop | role:platform | role:hail_and_ride)))` || Shows only currently being used ways/nodes/areas of public transport by checking the options "H" and "I". Good for reviewing the current network ||
    8787|| `child (type:relation & (boundary:administrative)) & (-barrier & -highway)` || Select all ways that are part of an administrative boundary aka child, but not part of a highway or barrier by selecting Hide, Inverse and as mode choose Add to show only these ||
    88 || `(highway:)  & ("^width$") &  -("^width$":"^([0-9]?\.[0-9][0-9])$")` || regex example to filter all roads with a width but not formatted 0.00 ||
     88|| `(highway:)  & ("^width$") &  -(("^width$":"^(([0-9]|[1-5][0-9])\.[0-9][0-9])$") | ("^width$":"^(([0-9]|[1-5][0-9])\.[0-9])$") | ("^width$":"^([0-9])?$")` || regex example to filter all roads with a width but not formatted 0.00, 0.0 or 0 (anything that's not really a proper value) ||
    8989
    9090See also other [wikitr:/Help/Action/Search#Examples examples]. If you have some clever filters, add them here.