Lollox85:
--------------------------------------------------------------------------------
Thanks, I didn't know how to do it

However, I don't know very much about standard or not standard regex, but it
seems that the "engine" used by UE is more powerful (and simple... I learned to
use in a few minutes, while I still don't understand how works the string you
posted) so maybe isn't a bad idea to add it to PSPad ;)
--------------------------------------------------------------------------------


It seems to me, that the equivalent of your code (given your explanation):
%;*%

would be just the following regex:
;.*
+ check the option [x] regular expression
ie.: 
"." any character except newline; 
"*" zero or more occurences of the preceeding element

the pattern:
^\s*;.*$

is actually more comprehensive than that - it checks for the start and end of
the line and the possibility of the starting whitespace before ; 

(For my part, I am in favor of the "standard" regular expressions such as in
PSPad; multitline support or even some more powerful library might be a nice
improvement, but especially the latter is not critical.)

regards,
   vbr

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

Odpovedet emailem