Community rules for the most common errors and problems found in Portugal. Messages are in Portuguese only. {{{ #!rule meta { title: "Portuguese-specific rules"; version: "1.[[revision]]_[[date]]"; description: "Community rules for the most common errors and problems found in Portugal. Messages are in Portuguese only."; icon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAYCAYAAACSuF9OAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA1QAAANUBVNmqYgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAInSURBVEiJ7dZbaM1xAMDxzzlnLsOG5jb3kTG5LF5YmJIihZkHKTyQIrUnzYPiCQmvcnlCIdfcS2jm0shtlhXN2AMROa4d2875e6DsybFzRnvY9+X/8vv9+/T7/f79/iGrBVJoTyWra1OZ+efCbf/K9OoAJasDlKyM1gyePoo1M8jOpHgT7qMBO/H8P4O2L44Y2Sfb1ku8+UTFbHqsxQTsD9gb5ch/AlWuZ0SPfP13NVh0qjPfiUdifOkqiMYFFQOFt0QZ5Odq/UtQQS5FIwliRGq+Mn2uoKDQl8HP9SzPF6o6LvTyIw+wLn1Q0kM9u4BTD/j2HZcxa6HGsg1Kr5dQXs7QIqq7sRw3UJgeKGKyzX8asK2UEF6/62vooHdeZs1SFcuVl5vlSX3U8KZzMsbWCi/4zHhk/YKnWNIVCiXolMG3RFzGgZBwrLvmpoTGeEKssVnnV71EKnLogohWfrcpgE4+5Owjlh6oFwR5htVWmlM0xJlrL6yaP1rX+3fJGcJX1OBgeqBQstu+fzb3NlL5lJlV8/RLXBRuKPNh4hS9rx4Sn3RepHAO4y7QiAHpgZKu0JtP3Kln/GBuTr3ifayEo8f0XrGEu3UimfPpdIFMaZ2dvwbBot1cfExTImZu0wkzyqLe3h5D8IzDp39u10osSx+UdMtaVpzP2mJ6dmNaDt2rUYcdv55tUKtALdt3i1U1bYNoWcq3fSLelozftbvfjw5Qstod6AdjIqVa7Sr8fwAAAABJRU5ErkJggg=="; author: "ViriatoLusitano"; link: "https://josm.openstreetmap.de/wiki/Rules/Portuguese-Specific"; baselanguage: "pt"; } way[highway][ref][ref !~ /^((A [0-9]{1,2}|((EN|ER) [0-9]{1,3}|(EM|CM) [0-9]{1,4})(-[0-9]{1,2})?);?)+$/] { throwWarning: tr("{0} fora do padrão ou separador de múltiplos valores diferente de '';''", "{2.key}"); } }}}