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
|
||||
modifier: "i" | ""
|
||||
} | null {
|
||||
const match = tag.match(/^([_a-zA-Z0-9: -]+)(!)?~([i]~)?(.*)$/)
|
||||
const match = tag.match(/^([_a-zA-Z0-9: -|]+)(!)?~([i]~)?(.*)$/)
|
||||
if (match == null) {
|
||||
return null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue