On Fri, Dec 23, 2005 at 02:09:19PM +0000, Luke Palmer wrote: > What sort of match object should this return, supposing that it didn't > infinite loop: > > "x" ~~ / [ [ (x) ]* ]* / > > Should $/[0][0] be "x", or should $/[0][0][0] be "x"? If it's the > latter, then when do new top-level elements get added?
As I understand things, $/[0][0] would be "x". FWIW, PGE currently creates top-level elements as they are encountered in the pattern match. Pm