EmEditor (text editor) Forum Index
   Regular Expressions
     Exceptions or bugs?
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
LTT
Posted on: 7/8/2011 9:41 am
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Exceptions or bugs?
1.
I want to replace "\{[\s\S]+?\}" with "".
"\{[\s\S]+?\}" can match multi-line text even when "Regular Expressions Can Match New Line Characters" option is off, if I use Replace Next.
But when using Replace All, that option has to be enabled.
Is this by design?



2.
For example, if I want to replace something with "\x{2030}\n", the Replace with text has to be "\x{2030}\\n" or "\x2030\\\n".



3.
Escape sequences are always on when searching from the command line.
But when I want to search a single "\" from the command line, I have to use "\\\\", not "\\".
Flat Previous Topic | Next Topic


Subject Poster Date
 » Exceptions or bugs? LTT 7/8/2011 9:41 am
     Re: Exceptions or bugs? Yutaka 7/8/2011 10:23 am
       Re: Exceptions or bugs? LTT 7/8/2011 10:44 am
         Re: Exceptions or bugs? Yutaka 7/8/2011 11:05 am
           Re: Exceptions or bugs? LTT 7/9/2011 4:02 am
             Re: Exceptions or bugs? Yutaka 7/9/2011 12:15 pm
           Re: Exceptions or bugs? LTT 7/10/2011 9:47 am
             Re: Exceptions or bugs? Yutaka 7/10/2011 10:41 am

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