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

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

[Octave-bug-tracker] [bug #52810] regexprep: incorrect empty tokens on A


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #52810] regexprep: incorrect empty tokens on ARM architecture
Date: Fri, 5 Jan 2018 02:49:50 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #2, bug #52810 (project octave):

I dug a little deeper and I think it might be an Octave bug.

1.  First, note (as in mwe.m) that "regexp" does the right thing here.  Its
"regexprep" that shows the bug.

2.  My reading of regexp::replace in lo-regexp.cc is that it calls
regexp::match (which uses PCRE) but then does its own substitutions.

Sorry this is not as ironclad as your suggestion but its all I have time to
learn at the moment.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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