|
Message-ID: <20180907162215.wcMZu%steffen@sdaoden.eu> Date: Fri, 07 Sep 2018 18:22:15 +0200 From: Steffen Nurpmeso <steffen@...oden.eu> To: Rich Felker <dalias@...c.org> Cc: musl@...ts.openwall.com Subject: Re: Regex: behaviour of ? after () atom Rich Felker wrote in <20180907160847.GN1878@...ghtrain.aerifal.cx>: |On Fri, Sep 07, 2018 at 06:00:46PM +0200, Steffen Nurpmeso wrote: |> Rich Felker wrote in <20180907153302.GM1878@...ghtrain.aerifal.cx>: |>|On Fri, Sep 07, 2018 at 05:25:17PM +0200, Steffen Nurpmeso wrote: |>|> Rich Felker wrote in <20180907151821.GL1878@...ghtrain.aerifal.cx>: |>|>|On Fri, Sep 07, 2018 at 03:38:05PM +0200, Steffen Nurpmeso wrote: ... |Your stopping condition is just wrong -- you're stopping after seeing |that the first subexpression does not match anything, and failing to |inspect the others. If you get rid of that stopping condition and |add code to print the rest, you'll see (each line is i, rm_so, rm_eo): | |1 -1 -1 |2 0 5 |3 5 9 |4 -1 -1 |5 -1 -1 |6 -1 -1 |... I see. Indeed. And no other bug to report somewhere else just as last time, sorry for the noise. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.