Maybe I did not catch something...
Is it possible to search within several lines when the exact line count is
unknown?
I mean the following.

It IS possible to search
a.*?
.*?b
and find
axx
xxb

But the same WILL NOT find
axx
yyy
xxb

So I have to KNOW the exact count of 
. What shall I do if i DO NOT KNOW it?

In Perl (also Boost::RegEx, EmEditor, UltraEdit) it is possible to search within
several lines using Perl SMIX or editor options, so
(?-ms)a.*?b
will find both variants, no matter how many 
 is between a & b.

Is there something like that is PSPad?

-- 
<http://forum.pspad.com/read.php?2,42919,42919>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem