Is there a regex syntax for newline or carriage return? I can't find one in the help or in the scintilla sourceforge pages.
Thanks!
Is there a regex syntax for newline or carriage return? I can't find one in the help or in the scintilla sourceforge pages.
Thanks!
It is \n if I am not mistaken. You might need to use \r\n for windows style line breaks though.
Yeah, I tried \n and \r separately. Now I've tried them together as you suggest, but none of them are working.
I even tried entering a few of my own line breaks and trying a search. Nothing. And of course the regex option is turned on in search.
Hi, you want use backslash expressions rather than regular expressions. The RegEx searches currently operate on a line-by-line basis only.
Ah ha!
PN2 is absolutely awesome, but this is really annoying - I've wasted nearly 30 mins on this.
It would be so cool if you could use backslash expressions and RegExes together.
Cheers,
Paul.
Simon,
What would be needed to fix this? PCRE?
Yes, PCRE or some other equivalent multi-line regular expressions library.
You must log in to post.