 iRob
Member
|
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!
|
 Bjoern
Member
|
It is n if I am not mistaken. You might need to use rn for windows style line breaks though.
|
 iRob
Member
|
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.
|
 simon
Key Master
|
Hi, you want use backslash expressions rather than regular expressions. The RegEx searches currently operate on a line-by-line basis only.
|
 paulfeakins
Member
|
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.
|
 jumpfroggy
Member
|
Simon,
What would be needed to fix this? PCRE?
|
 simon
Key Master
|
Yes, PCRE or some other equivalent multi-line regular expressions library.
|