Yeah thats what I ended up with, a switch case followed by 2 different regex, one for "normal" escapes and one for octals, then followed by other switches. I just thought it would be more elegant to...
Type: Posts; User: Johannes
Yeah thats what I ended up with, a switch case followed by 2 different regex, one for "normal" escapes and one for octals, then followed by other switches. I just thought it would be more elegant to...
//String at exe //Wanted Result
\b (backspace)
\\ \
dasfasdf\\addaf dasfasdf\addaf
But since the string at execution is already escaped, I cant figure out how to do it...
I want the compiler to do escaping one more time.
Take string "\\b"
Do escaping -> "\b"
Take string "\b"
Do escaping -> 'backslash' (escape symbol)
The reason being Im trying to make my own...
First of, sorry for the poor title, I dont know how to describe it in a better way.
My problem is as follows. I have a string where I need to do the vm's escape evalutation twice.
One time...