EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Regex bug related to ignoring \r when regex operator appears after it
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Yutaka
Posted on: 9/16/2011 8:37 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: Regex bug related to ignoring \r when regex operator appears after it
Hi Deipotent,

As you wrote, EmEditor strips out '\r' from regular expressions when you use Find. This is because a new line is represented as a '\n' and not '\r\n' no matter whether '\r' or '\n' or '\r\n' is used for a new line. Currently, this is the specification because many users were confused whey they needed to specify '\r' or '\r\n' for a new line in earlier versions.

When you specify a new line, please use '\n', and not '\r'.

Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Flat Previous Topic | Next Topic


Subject Poster Date
   Regex bug related to ignoring \r when regex operator appears after it Deipotent 8/25/2011 1:27 pm
   » Re: Regex bug related to ignoring \r when regex operator appears after it Yutaka 9/16/2011 8:37 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文