Talk:Regular expression syntax

From EditPlus Wiki
Revision as of 09:59, 15 June 2007 by Adam (Talk | contribs) (Deleting Spam)

Jump to: navigation, search

There seems to be a bug in editplus with newline characters, even after installing the current patch.

IE: This regular expression <tag>.*\n.*</tag>

Matches the following text:


<tag>


</tag>


When I think it should only match a single newline inside the tag. Can anyone else duplicate this, or correct me if I'm mistaken?

Thanks,

Jared jared AT blatantcreative DOT com

[EDIT: This seems to be true in html files but not text files. I havent tried others.]

By no means, am I a REGEXPert...

<tag>.*[^\\n].*</tag>

toe_bot_c @ yah + (hoo - h) dot com