octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45084] regexptranslate incorrectly escapes "<


From: Rik
Subject: [Octave-bug-tracker] [bug #45084] regexptranslate incorrectly escapes "<" and ">", maybe others
Date: Tue, 12 May 2015 15:49:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Update of bug #45084 (project octave):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I'm pretty sure I was the one that coded that regular expression and I did it
because it was simplest to escape everything that might be a regular
expression, rather than to come up with a definitive list of the characters to
escape.

But we could go the other way as well and list everything that seems like a
possible pattern.  I made that change on the development branch here
(http://hg.savannah.gnu.org/hgweb/octave/rev/89616a98b02e).  I also improved
the speed of the 'wildcard' option by 44% while I was modifying the function.

I made the change on the development branch, but I will also pull it across to
the stable branch.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45084>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]