forked from MapComplete/MapComplete
Allow '|' in regex key values to allow rewrites, see #1075
This commit is contained in:
parent
f7002ce315
commit
6e3961c92d
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ export class TagUtils {
|
||||||
value: string
|
value: string
|
||||||
modifier: "i" | ""
|
modifier: "i" | ""
|
||||||
} | null {
|
} | null {
|
||||||
const match = tag.match(/^([_a-zA-Z0-9: -]+)(!)?~([i]~)?(.*)$/)
|
const match = tag.match(/^([_a-zA-Z0-9: -|]+)(!)?~([i]~)?(.*)$/)
|
||||||
if (match == null) {
|
if (match == null) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue