Mercato explained it in detail. Please click:
http://forum.pspad.com/read.php?4,30849#msg-31253

You can also check a powerfull, open source editor component scintilla.
Notepadd++ also uses scintilla.


pspad:
--------------------------------------------------------------------------------
Mahir:
--------------------------------------------------------------------------------
$sayfa =~ s/<.+anasayfa.html"-->/$icerik/;

this is a search/replace with regular expression. 

in perl, you must escape quote characters with \ (like \") 

if you dont escape it, then it means it is a string.

But in a regexep like this you use quote (") character as is. Without escaping.
So, any quote (") character in a line with =~ must be treated specially and must
not treated as a string begin or end.
--------------------------------------------------------------------------------


OK. How can I kno where regular expression start and end?
--------------------------------------------------------------------------------


-- 
<http://forum.pspad.com/read.php?6,38124,38225>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem