parrotcode: PIR-based Capture class | |
Contents | Libraries |
Capture_PIR - PIR-based Capture class
This file implements a Capture
class of objects.
Ideally we'd like to use the Capture class that is written in C,
but unfortunately Parrot currently has a limitation in handling subclasses of the built-in Capture.
So,
this is a temporary PIR-based version until the Capture PMC is working properly.
get_string_keyed_int(int key)
key
,
in string context.
If the Match object contains an array of matches,
a space seperated list of matches is returned.get_pmc_keyed_int(int key)
key
.
This returns either a single Match object or an array of match objects depending on the rule.
|