Chore: improve docs

This commit is contained in:
Pieter Vander Vennet 2025-04-09 16:03:31 +02:00
parent 1d2edad27b
commit 1505c9e904

View file

@ -92,12 +92,12 @@ export class TagUtils {
"!~i~": { "!~i~": {
name: "Value does *not* match case-invariant regex", name: "Value does *not* match case-invariant regex",
overpassSupport: true, overpassSupport: true,
docs: "A tag can also be tested against a regex with `key~i~regex`, where the case of the value will be ignored. The regex is still matched against the _entire_ value. This filter returns true if the value does *not* match", docs: "A tag can also be tested against a regex with `key~i~regex`, where the case of the value will be ignored. The regex is still matched against the _entire_ value (thus: a `^` and `$` are automatically added to start and end). This filter returns true if the value does *not* match"
}, },
"~~": { "~~": {
name: "Key and value should match given regex", name: "Key and value should match given regex",
overpassSupport: true, overpassSupport: true,
docs: "Both the `key` and `value` part of this specification are interpreted as regexes, both the key and value musth completely match their respective regexes", docs: "Both the `key` and `value` part of this specification are interpreted as regexes, both the key and value must completely match their respective regexes (thus: a `^` and `$` are automatically added to start and end)"
}, },
"~i~~": { "~i~~": {
name: "Key and value should match a given regex; value is case-invariant", name: "Key and value should match a given regex; value is case-invariant",