Newbie question: an extended comma or tab separated (CSV/TSV) Ragel scanner

Heiko heiko.pael... at gmail.com
Tue Jul 1 16:35:37 UTC 2008


Ah, thanks!

The problem appears to have disappeared after upgrading from Ragel v.
5.24 to 6.2.
I'll also have a look into the => operator for scanners.

Many thanks,
and best wishes,
Heiko


On Jun 30, 2:50 am, "Andrew Garner" <muza... at gmail.com> wrote:
> On Sun, Jun 29, 2008 at 8:24 AM, Heiko <heiko.pael... at gmail.com> wrote:
> > Do you have any idea why my implementation swallows one character
> > after a newline \n, but not after \r?
>
> What version of Ragel are you using? You probably want to use pattern =>
> action; in your scanner for the multiline/newline matching rather than @{}


More information about the ragel-users mailing list