http://d.puremagic.com/issues/show_bug.cgi?id=6383
--- Comment #4 from Dmitry Olshansky <[email protected]> 2011-07-30 08:43:44 PDT --- (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Sorry, this is not correct: > > > > > > auto (start,end) = array(match(r, r"^(-?\d+)(-?(-?\d+))?$").captures); > > > auto (start,end) = match(r, r"^(-?\d+)(-?(-?\d+))?$").captures; > > > > I'm puzzled, in this case captures contain way more then 2 strings: > > 0 - whole match > > 1 - (-?\d+) > > 2 - (-?(-?\d+))? > > 3 - (-?\d+) > > What are you puzzled about? I have already said that code I have written is > not > correct. Ah, don't worry, I supposed you pasted a correction, sily me. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
