On Wed, Dec 07, 2005 at 05:34:50PM -0600, Patrick R. Michaud wrote: > On Wed, Dec 07, 2005 at 03:17:10PM -0800, Allison Randal wrote: > > Shouldn't it contain C<this quoted string>? That is, shouldn't it > > remove the bracketing characters? Or at least hold the string without > > the brackets somewhere within the PGE::Text object? I'm getting: > > > > <PunieGrammar::term> => PMC 'PunieGrammar' => "(ok 1)" @ 6 { > > <PGE::Text::bracketed> => PMC 'PGE::Text' => "(ok 1)" @ 6 > > } > > > >But want something more like: > > > > <PunieGrammar::term> => PMC 'PunieGrammar' => "(ok 1)" @ 6 { > > <PGE::Text::bracketed> => PMC 'PGE::Text' => "(ok 1)" @ 6 { > > [0] => PMC 'PunieGrammar' => "ok 1" @ 7 > > } > > } > > Shouldn't it contain C<this quoted string>? That is, shouldn't it > > remove the bracketing characters? Or at least hold the string without > > the brackets somewhere within the PGE::Text object? > > Anyway, it's no problem for me to update PGE::Text::bracketed to > return a sub-match of the string without its outer delimiters, if > we want to go that way.
Now added to PGE::Text, r10402. Pm