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: Mon, 28 Jan 2013 18:59:10 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Follow-up Comment #3, bug #38149 (project octave):

I have an implementation that works for tokens.  Getting the tokenExtents to
work correctly is more difficult.  Could you run the following corner cases
and tell me what Matlab returns?


regexp ('abce', '((a)(z)?b(c)(z*))(z)?(e)?', 'tokenExtents')

[S, E, TE, M, T, NM, SP] = regexp ('abc',
'(?<all>(a)(?<miss1>z?)b(?<hit1>c)(z*))')



    _______________________________________________________

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]