Ticket #843 (new feature) — at Version 1

Opened 13 years ago

Last modified 11 years ago

PGE will assume {*} at end of every regex

Reported by: pmichaud Owned by: pmichaud
Priority: normal Milestone:
Component: PGE Version: 1.3.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description (last modified by pmichaud) (diff)

Per Synopsis 5, all regexes will have an implied {*} marker at the end of every regex, which results in calling an associated action method if one is supplied.

This may affect existing grammars that have an explicit {*} at the end of the regex (resulting in the action method being called twice). It can also affect grammars that assume that the action method will always have two arguments (e.g. if all other {*}'s in the regex have #= tags).

Change History

Changed 13 years ago by pmichaud

  • description modified (diff)
Note: See TracTickets for help on using tickets.