in reply to Parse::RecDescent Grammar Fun
Note the inclusion of [ and ] (escaped) in the definition of what 'punct' is 'not'.punct: /[^\w\s\[\]]+/ {print "<punct: $item[1]>" }
--hsm
"Never try to teach a pig to sing...it wastes your time and it annoys the pig."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Parse::RecDescent Grammar Fun
by ichimunki (Priest) on Jul 24, 2002 at 21:13 UTC | |
by hsmyers (Canon) on Jul 24, 2002 at 22:51 UTC | |
by ichimunki (Priest) on Jul 25, 2002 at 00:52 UTC |