From 13351823e88e79238d202a756e5e876296f06fab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 18 Dec 2022 08:02:46 +0100
Subject: [PATCH] footways: surface filter also checks sidewalk:surface

---
 footways.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/footways.yaml b/footways.yaml
index 41517df..8da48e7 100644
--- a/footways.yaml
+++ b/footways.yaml
@@ -481,7 +481,7 @@ filter:
       {% set value = "(unpaved|compacted|fine_gravel|gravel|rock|pebblestone|ground|dirt|earth|grass|grass_paver|mud|sand|woodchips|snow|ice|salt)" %}
       {% endif %}
 
-      (nwr[surface~"^{{ value }}$"];nwr[~"sidewalk:(left|right|both):surface"~"^{{ value }}$"];)
+      (nwr[surface~"^{{ value }}$"];nwr[~"sidewalk(:left|:right|:both|):surface"~"^{{ value }}$"];)
     values:
       all_paved:
         name: "<{{ tagTrans('surface', 'paved') }}>"