Skip to content

Commit 7e8e5e5

Browse files
committed
fix: allow optional trailing '?' in weather regex rule
1 parent 5f54533 commit 7e8e5e5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/maps/plugins/standard_actions/de-DE/FUZZY_MAP_pre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316

317317
# Regel für die Wetterabfrage
318318
# EXAMPLE: wie ist das wetter
319-
('', r'^(wie (wird|ist|nächstes)\b.*\bwetter|wetterbericht|wettervorhersage)$', 95, {
319+
('', r'^(wie (wird|ist|nächstes)\b.*\bwetter|wetterbericht|wettervorhersage)\??$', 95, {
320320
'flags': re.IGNORECASE,
321321
'on_match_exec': [CONFIG_DIR / 'weather.py'] # Passe den Pfad ggf. an
322322
}),

docs/bugfix/TODO/misrecognitions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ gut es ist nur komisch
8989
-> Yielding chunk:
9090
📢 2026-03-04 14:59:41:
9191
-> Yielding chunk:
92+
📢 2026-03-05 17:47:08:
93+
-> Yielding chunk:

0 commit comments

Comments
 (0)