23.08.2014, 11:04
(
Последний раз редактировалось Emre__; 23.08.2014 в 11:04.
Причина: title
)
Hello,
I'm using regex replace to remove
from a line. I use expression nextid="\w+\s\(\)\s\([0-9]{1,5}\)"\s. This works on Notepad++ but when it comes to code below it give me error: error 027: invalid character constant
I tried to escape "\" character with "\" but still get the same error.
I'm using regex replace to remove
Код:
nextid="checkpoint () (1231)"
pawn Код:
regex_replace(line, 'nextid="\w+\s\(\)\s\([0-9]{1,5}\)"\s', "", line, sizeof line); // remove nextid from line.