HMR to replace "plus or +"
Hi Fellows,
I would like you can help me to be clear which do you think should be the correct way to replace a value that starts with (plus or +); only if start with + and the next digits are 12345.
Example +12345
These 2 rules are working fine:
header-rule
name Change_PAI_165
header-name P-Asserted-Identity
action manipulate
comparison-type case-sensitive
msg-type request
methods
match-value
new-value
element-rule
name Pai_12345
parameter-name
type uri-user
action replace
match-val-type any
comparison-type pattern-rule
match-value ^\+(12345)$
new-value "+"+"67890"
or
element-rule
name Pai_12345
parameter-name
type uri-user
action replace
match-val-type any
comparison-type pattern-rule
match-value ^\+12345$
new-value "+"+"67890"
Before that,
I did some element rules like below but was changing to +67890 all that start with (plus +).