http://d.puremagic.com/issues/show_bug.cgi?id=4627


Dmitry Olshansky <dmitry.o...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.o...@gmail.com


--- Comment #1 from Dmitry Olshansky <dmitry.o...@gmail.com> 2011-06-06 
08:41:35 PDT ---
It works exactly like that.

Keeping in mind that captures is a range [full match, submatch0, submatch1,
...] fro a given match.
And foreach (m; match(text, r"\d")) { ... } iterates over consecutive matches
of regex (if "g" option is set, otherwise it's one iteration).

Resolved ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to