Can someone please tell me the correct syntax of how you do this.
I'm trying to do:
But it throws a syntax error.
I know the following two work:
So you must just need some sort of different syntax when trying to mix parsed and unparsed special characters?
Thanks for any help.
You need to escape the ( character with a backslash - use ( instead.
No - I'm wrong. That doesn't work.
Even stranger is that:
$regexp(%_filename%,(\d),$1')') works but
You can use \x28 instead of (
Also not working is:
which outputs the filename with "\\)" appended (two backslashes). I could understand if it output no backslashes or one backslash, but why does it produce two backslashes?
It is confusing me a little, I don't think the syntax is properly correct here. But I have all the functionality I want now, so (although it goes against a lot of my principles as a programmer) I'm just going to ignore it all