error 027: invalid character constant
#1

Hello,

I'm using regex replace to remove
Код:
nextid="checkpoint () (1231)"
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

pawn Код:
regex_replace(line, 'nextid="\w+\s\(\)\s\([0-9]{1,5}\)"\s', "", line, sizeof line); // remove nextid from line.
I tried to escape "\" character with "\" but still get the same error.
Reply


Messages In This Thread
error 027: invalid character constant - by Emre__ - 23.08.2014, 11:04
Re: error 027: invalid character constant - by Misiur - 23.08.2014, 11:09
Re: error 027: invalid character constant - by Emre__ - 23.08.2014, 11:13

Forum Jump:


Users browsing this thread: 1 Guest(s)