From 9c0df9b3a434ff684e50d2d07dc94e8f267f6fcb Mon Sep 17 00:00:00 2001 From: Chris Veilleux Date: Tue, 3 Aug 2021 11:18:00 -0500 Subject: [PATCH] Change the location.rx files to be less greedy. They were conflicting with the location.rx files in other skills. --- locale/ca-es/regex/location.rx | 2 +- locale/da-dk/regex/location.rx | 4 ++-- locale/de-de/regex/location.rx | 2 +- locale/en-us/regex/location.rx | 2 +- locale/gl-es/regex/location.rx | 2 +- locale/it-it/regex/location.rx | 2 +- locale/pt-br/regex/location.rx | 2 +- locale/sv-se/regex/location.rx | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/locale/ca-es/regex/location.rx b/locale/ca-es/regex/location.rx index e0b99ba4..22021f09 100644 --- a/locale/ca-es/regex/location.rx +++ b/locale/ca-es/regex/location.rx @@ -1 +1 @@ -.*\b(a) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(a) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/da-dk/regex/location.rx b/locale/da-dk/regex/location.rx index a675926f..2254719a 100644 --- a/locale/da-dk/regex/location.rx +++ b/locale/da-dk/regex/location.rx @@ -1,2 +1,2 @@ -# .*\b(at|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) -.*\b(på|i) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +# \b(at|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(på|i) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/de-de/regex/location.rx b/locale/de-de/regex/location.rx index 3f95d57b..9138f956 100644 --- a/locale/de-de/regex/location.rx +++ b/locale/de-de/regex/location.rx @@ -1 +1 @@ -.*\b(bei|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(bei|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/en-us/regex/location.rx b/locale/en-us/regex/location.rx index 326b609e..71cf794a 100644 --- a/locale/en-us/regex/location.rx +++ b/locale/en-us/regex/location.rx @@ -1 +1 @@ -.*\b(at|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(at|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/gl-es/regex/location.rx b/locale/gl-es/regex/location.rx index b696936d..583f122e 100644 --- a/locale/gl-es/regex/location.rx +++ b/locale/gl-es/regex/location.rx @@ -1 +1 @@ -.*\b(en|no) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(en|no) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/it-it/regex/location.rx b/locale/it-it/regex/location.rx index 214a629a..ad4b497b 100644 --- a/locale/it-it/regex/location.rx +++ b/locale/it-it/regex/location.rx @@ -1 +1 @@ -.*\b(a|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(a|in) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/pt-br/regex/location.rx b/locale/pt-br/regex/location.rx index 9ef5134e..b3c49d5d 100644 --- a/locale/pt-br/regex/location.rx +++ b/locale/pt-br/regex/location.rx @@ -1 +1 @@ -.*\b(em|no) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(em|no) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) diff --git a/locale/sv-se/regex/location.rx b/locale/sv-se/regex/location.rx index 7becbf75..df798ee6 100644 --- a/locale/sv-se/regex/location.rx +++ b/locale/sv-se/regex/location.rx @@ -1 +1 @@ -.*\b(på|i) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+) +\b(på|i) (?P(?!\bcelsius\b|\bfahrenheit\b) *.+)