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

Flat Previous Topic | Next Topic
Poster Thread
LTT
Posted on: 7/10/2011 9:47 am
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Re: Exceptions or bugs?
Quote:
Yutaka wrote:
3. It is possible that you might escape a backslash when you use a command line, and escape again when using escape sequences.

I don't get it yet on issue 3. Could you explain a little further please?

It seems this only happens when the FindWhat string is ended with a backslash. Examples:
* To find "\" (1 backslash), I have to use "\\\\" as the FindWhat string in the command line.
* To find "\\" (2 backslashes), I have to use "\\\\\\\\".
* To find "a\" (an "a" and a backslash), I have to use "a\\\\".

But to find "\a" (a backslash and an "a"), only "\\a" is needed. Only this one is in line with my expectations.
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 日本語 한국어 Русский 简体中文 繁體中文