diff --git a/ui/src/components/search/search-input.ts b/ui/src/components/search/search-input.ts index 6156ec6c4..5a24695a2 100644 --- a/ui/src/components/search/search-input.ts +++ b/ui/src/components/search/search-input.ts @@ -145,7 +145,7 @@ export class SearchInput extends LitElementI18n { } private searchAdditionalItemsByCoordinates(query: string): AdditionalItem[] { - const COORDINATE_PATTERN = /([\d.']+)[\s,/]+([\d.']+)/; + const COORDINATE_PATTERN = /(\d[\d.']*)[\s,/]+(\d[\d.']*)/; const coordinateMatches = COORDINATE_PATTERN.exec(query); if (coordinateMatches === null) { return [];