Merge branch 'master' into develop

This commit is contained in:
Pieter Vander Vennet 2024-09-17 03:17:31 +02:00
commit e9dfbe7b4d

View file

@ -136,7 +136,7 @@ export default class FilteredLayer {
* import { RegexTag } from "../Logic/Tags/RegexTag" * import { RegexTag } from "../Logic/Tags/RegexTag"
* *
* const option: FilterConfigOption = {question: Translations.T("question"), osmTags: undefined, originalTagsSpec: "key~.*{search}.*", fields: [{name: "search", type: "string"}] } * 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( private static fieldsToTags(
option: FilterConfigOption, option: FilterConfigOption,