From b059ac64e3c7f3407541b4ba82144b7fc392670b Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 17 Sep 2024 03:17:21 +0200 Subject: [PATCH] Chore: Fix tests --- src/Models/FilteredLayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/FilteredLayer.ts b/src/Models/FilteredLayer.ts index 01b5de0b8..db228b506 100644 --- a/src/Models/FilteredLayer.ts +++ b/src/Models/FilteredLayer.ts @@ -136,7 +136,7 @@ export default class FilteredLayer { * import { RegexTag } from "../Logic/Tags/RegexTag" * * const option: FilterConfigOption = {question: Translations.T("question"), osmTags: undefined, originalTagsSpec: "key~.*{search}.*", fields: [{name: "search", type: "string"}] } - * FilteredLayer.fieldsToTags(option, {search: "value_regex"}) // => new RegexTag("key", /^(.*(value_regex).*)$/) + * FilteredLayer.fieldsToTags(option, {search: "value_regex"}) // => new RegexTag("key", /^(.*(value_regex).*)$/s) */ private static fieldsToTags( option: FilterConfigOption,