As Pugs now has Rule support via PGE (either with external parrot or a
faster, linked libparrot), I've been playing with the new capturing 
semantics.

Currently, matching "123" against /(.(.(.)))/ produces this:

    $0: 123
    $1: 123
    $1[0]: 23
    $1[0][0]: 3

Instead of the Perl 5 behaviour:

    $0: 123
    $1: 123
    $2: 23
    $3: 3

Is this correct and intended?  I tried consulting A/S/E05, but can't
find exact wording that defines this.

Thanks,
/Autrijus/

Attachment: pgpRF6RwmbFx2.pgp
Description: PGP signature

Reply via email to