Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[NUDGE] split on REs

16 views
Skip to first unread message

William Coleda

unread,
Dec 29, 2004, 8:09:10 PM12/29/04
to Perl 6 Internals
I'd like to get Tcl's [namespace] implemented, but this will be very difficult until I can do:

$P0 = split "::+", $S0

or something equivalent with PGE.

Patrick R. Michaud

unread,
Dec 29, 2004, 9:53:19 PM12/29/04
to William Coleda, Perl 6 Internals

Nudge noted. At the moment I've been holding off on progressing too
far with PGE because the rule "match semantics" are in the midst of being
redefined somewhat (based on discussions on perl6-language and other
places) and the changes being contemplated have some non-trivial
implications for PGE's internals.

Out of curiosity (so I can better work towards supporting your need),
are you really intending to do the equivalent of:

$P0 = split "\:\:+", $S0

i.e., separating $S0 based on sequences of two or more literal colons?
(Colons are metacharacters in p6rules.)

Pm

William Coleda

unread,
Dec 29, 2004, 9:57:18 PM12/29/04
to Patrick R. Michaud, Perl 6 Internals
Yes, I was using a regular expression, not a rules. =-)
0 new messages