en composition of regex replacements testing position relative to spaces (or start/end of strings) Z11493en Implementation
trying to fix start of string left replacement |
PCRE escape of each common mark for replacement, just in case it has a special regex character |
||
Line 31: | Line 31: | ||
"Z7K1": "Z10000", |
"Z7K1": "Z10000", |
||
"Z10000K1": { |
"Z10000K1": { |
||
"Z1K1": " |
"Z1K1": "Z7", |
||
" |
"Z7K1": "Z11461", |
||
"Z11461K1": { |
|||
"Z1K1": "Z18", |
|||
"Z18K1": "Z11492K2" |
|||
} |
|||
}, |
}, |
||
"Z10000K2": "$" |
"Z10000K2": "$" |
||
Line 46: | Line 50: | ||
"Z10000K1": "^", |
"Z10000K1": "^", |
||
"Z10000K2": { |
"Z10000K2": { |
||
"Z1K1": " |
"Z1K1": "Z7", |
||
" |
"Z7K1": "Z11461", |
||
"Z11461K1": { |
|||
"Z1K1": "Z18", |
|||
"Z18K1": "Z11492K2" |
|||
} |
|||
} |
} |
||
}, |
}, |
||
Line 59: | Line 67: | ||
"Z7K1": "Z10000", |
"Z7K1": "Z10000", |
||
"Z10000K1": { |
"Z10000K1": { |
||
"Z1K1": " |
"Z1K1": "Z7", |
||
" |
"Z7K1": "Z11461", |
||
"Z11461K1": { |
|||
"Z1K1": "Z18", |
|||
"Z18K1": "Z11492K2" |
|||
} |
|||
}, |
}, |
||
"Z10000K2": " " |
"Z10000K2": " " |
||
Line 79: | Line 91: | ||
"Z10000K1": " ", |
"Z10000K1": " ", |
||
"Z10000K2": { |
"Z10000K2": { |
||
"Z1K1": " |
"Z1K1": "Z7", |
||
" |
"Z7K1": "Z11461", |
||
"Z11461K1": { |
|||
"Z1K1": "Z18", |
|||
"Z18K1": "Z11492K2" |
|||
} |
|||
} |
} |
||
}, |
}, |
Revision as of 02:12, 17 October 2023
This page displays in a limited way without JavaScript.