In Pugs, the current logic for array submatches in split() is
to stringify each element, and return them separately in the
resulting list.  To wit:

    pugs> split /(..)*/, 1234567890
    ('', '12', '34', '56', '78', '90')

Is this sane?

Thanks,
/Autrijus/

Attachment: pgpUZCdoDMPb0.pgp
Description: PGP signature

Reply via email to