Re: generating grammars, capturing in regex interpolation, etc.

2015-04-20 Thread Nathan Gray
Am 17.04.2015 um 04:34 schrieb Nathan Gray: # Call it if it is a routine. This will capture if requested. return (var)(self) if nqp::istype(var,Callable); This seems to indicate that captures in the embedded regexes should capture. On Fri, Apr 17, 2015 at 09:47:22AM +0200, Tobias

Re: Grammars

2015-04-20 Thread Larry Wall
On Sun, Apr 19, 2015 at 06:31:30PM +0200, mt1957 wrote: : L.s., : : I found a small problem when writing a piece of grammar. A : simplified part of it is shown here; : ... : token tag-body { body-start ~ body-end body-text } : token body-start { '[' } : token body-end { ']' } : token body-text