i am trying tu substitute !20 by a space using regexp.
for instance a box message like thad [a!20v] should write in the output this other one [a v]
with this arguments
[[regexp (!20) @substitute \s]]
regexp gives that
You can’t use regexp metacharacters in the substitution string, you need to use the literal characters. So you want something like:
[regexp (!20) @substitute " "]
I’ve just uploaded a patch which aims to explain [regexp] with some examples of how to use it. You might find it helpful, the link is below.
many thanks, lh
your answer has been very helpful
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74