
7 Apr
2017
7 Apr
'17
2:26 p.m.
I want to add the following rule to my "Latin languages manage system": highway=* & name ~ "(?i)Chemin\s+d['’´]+acc[èe]s\s+[àa]\s+la\s+.*" { add streettype:movedend="${name|subst:(?i)Chemin\s+d['’´]+acc[èe]s\s+[àa]\s+la\s+~>}, Chemin d'accès"} It catches "Chemin D'Accès à la Piscine" and "Chemin D'Accès A la Piscine", but not "Chemin D'Accès À la Piscine" (note the difference in à, A or À) If I use rule highway=* & name ~ "(?i)Chemin\s+d['’´]+acc[èe]s\s+À\s+la\s+.*" { add streettype:movedend="${name|subst:(?i)Chemin\s+d['’´]+acc[èe]s\s+À\s+la\s+~>}, Chemin d'accès"} then the third form is caught, but obviously the other ones not. Any idea why first rule is not working for all forms?