in reply to Re^2: Matching terminals with Parse::RecDescent
in thread Matching terminals with Parse::RecDescent
With the grammar:
line: FOO BAR /$/ FOO: "foo" BAR: "bar"
and the invocation changed line to:
if (defined (my $ret = $p->line($test))) {
I get:
no match: 'foo' no match: 'foo ' match: 'foo bar' -> '' no match: 'football' no match: 'fog' no match: 'barfoo' no match: 'bar foo'
Is that not what you expect?
|
|---|