Hi again, after long time I'm back :-). I needed heredoc syntax more and more. I wrote patterns for heredoc and nowdoc (I hope it's correct and universal).
[b]// heredoc 1 '/<<<([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[ |\r|\n](.*(?=\1))?\1;?[ | \r|\n]/s' // heredoc 2 '/<<<"([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)"[ |\r|\n](.*(?=\1))?\1;?[\r\ n|\r|\n]/s' // nowdoc "/<<<'([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)'[ |\r|\n](.*(?=\1))?\1;?[\r\ n|\r|\n]/s"[/b] And my question is: how can I implement it into PSPad? Thank you :-) -- <http://forum.pspad.com/read.php?2,55797,56451> PSPad freeware editor http://www.pspad.com
