Hello,
I have a problem of syntax to write the string map operation with regex.
I am trying to delete a parameter toto=[0-9]&
url: ~~http://1.1.1.1/index.php?param=1&toto=5&tata=no~~
I want the following result:: ~~http://1.1.1.1/index.php?param=1&tata=no~~
So I use:
HTTP::uri [string map {toto=[0-9]& “”} [HTTP::uri]]
But it doesn’t work
When i use this :
HTTP::uri [string map {toto=5& “”} [HTTP::uri]]
it works.
Could you help me please ?