From 4a460fe4fd6bbbca1387ef9db0394a4da860edef Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Mon, 2 Sep 2024 13:54:28 +0200 Subject: [PATCH] Fix typo in ElementFilterExpression comment --- .../data/elementfilter/ElementFilterExpression.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/data/elementfilter/ElementFilterExpression.kt b/app/src/main/java/de/westnordost/streetcomplete/data/elementfilter/ElementFilterExpression.kt index 86dcc48347..3f589bbc99 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/data/elementfilter/ElementFilterExpression.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/data/elementfilter/ElementFilterExpression.kt @@ -42,7 +42,7 @@ import de.westnordost.streetcomplete.data.osm.mapdata.ElementType * | `shop !~ car|boat` | doesn't have a tag whose key is `shop` and value matches the regex `car|boat` | * | `~shop|craft ~ car|boat` | has a tag whose key matches `shop|craft` and value matches `car|boat` (both regexes) | * | `~shop|craft !~ car|boat` | doesn't have a tag whose key matches `shop|craft` and value matches `car|boat` (both regexes) | - * | `foo < 3.3` | has a tag with key `foo` whose value is smaller than 2.5
`<`,`<=`,`>=`,`>` work likewise | + * | `foo < 2.5` | has a tag with key `foo` whose value is smaller than 2.5
`<`,`<=`,`>=`,`>` work likewise | * | `foo < 3.3ft` | same as above but value is smaller than 3.3 feet (~1 meter)
This works for other units as well (mph, st, lbs, yds...) | * | `foo < 3'4"` | same as above but value is smaller than 3 feet, 4 inches (~1 meter) | * | `foo < 2012-10-01` | same as above but value is a date older than Oct 1st 2012 |