There's always a way, but it would help to provide more details about the issue, like where you're using that string in the skin and how you "parse" it. If by any chance you're using it as a regex pattern, there is a parameter for a measure section variable:So I have a script that defines a string like:This string gets used later in the script via a bang to change a meter's text.Code:
myTable = { myString = "Here is (something)"}
The issue is that various meta characters like parentheses, square brackets and asterisks cause the entire string to not get parsed on the INI side. So in the current version of the script I've simply removed them from the string.
I've looked through the site but couldn't find how to escape the characters in this scenario. I've tried `\`, raw unicode character reference, wrapping with asterisks, different quoting types but still fails to parse with them present.
Is there a way?
https://docs.rainmeter.net/manual/variables/section-variables/#EscapeRegExp
that can automatically escape these chars. If it's about something else, like I said, a few relevant details (or maybe a very short sample replicating the issue) would be useful to find a solution.
Statistics: Posted by Yincognito — Today, 7:27 pm