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

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

[Octave-bug-tracker] [bug #38149] regexp doesn't return empty tokens --


From: Rik
Subject: [Octave-bug-tracker] [bug #38149] regexp doesn't return empty tokens -- they just disappear
Date: Thu, 24 Jan 2013 22:38:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Update of bug #38149 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

This is confirmed on the development code branch as well.

For reference, could you try the following code bits on Matlab and post what
it returns?  I'm curious about how they handle token extents for matched but
empty substrings which is where the issue lies.


[S, E, TE, M, T, NM, SP] = regexp ('bar2','^(foo)?bar(\d*)$')
[S, E, TE, M, T, NM, SP] = regexp ('bar2','^bar(z)?(\d*)$')



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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