On Mon, May 23, 2005 at 04:14:41PM -0400, Dino Morelli wrote: > I think I may have found something wrong with PGE capturing with the :w > modifier. In this code: > [...]
You're correct, the <?ws> rule wasn't working properly. I must've been sleep deprived when I originally wrote it, as it wasn't handling the C<pos> value correctly at all. It should be fixed now (r8147 -- see output below). Thanks! Pm -------- input "rule <pattern>", "glob <pattern>", "save <name>", target string, "pir", "exp", "trace", or "next" rule :w(\w+) (\S+) input "rule <pattern>", "glob <pattern>", "save <name>", target string, "pir", "exp", "trace", or "next" dog spot match succeeded $/: <dog spot @ 0> 0 $/[0]: <dog @ 0> 0 $/[1]: <spot @ 4> 0