From a1c40a4d09a9537214b5e4e86b179d7b0905f711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Lafreni=C3=A8re?= <53181414+PhilippeLafreniere18@users.noreply.github.com> Date: Thu, 19 May 2022 15:32:02 -0400 Subject: [PATCH] feat(icherche): allow + hashtags to be read (#1056) --- packages/geo/src/lib/search/shared/sources/source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/geo/src/lib/search/shared/sources/source.ts b/packages/geo/src/lib/search/shared/sources/source.ts index 29aca08444..1f3eec7f63 100644 --- a/packages/geo/src/lib/search/shared/sources/source.ts +++ b/packages/geo/src/lib/search/shared/sources/source.ts @@ -180,7 +180,7 @@ export class SearchSource { * @param hashtag hashtag from query */ getHashtagsValid(term: string, settingsName: string): string[] { - const hashtags = term.match(/(#[A-Za-z]+)/g); + const hashtags = term.match(/(#[A-Za-z+]+)/g); if (!hashtags) { return undefined; }