[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Structural regular expressions

From: Wojciech Meyer
Subject: Re: Structural regular expressions
Date: Sat, 11 Sep 2010 08:58:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50

Miles Bader <address@hidden> writes:

> "Drew Adams" <address@hidden> writes:
>> That's the real point, I believe: the paper touts the use of regexps
>> to divide text into chunks that match - chunks that are not
>> necessarily lines, in order to then act on those chunks in some way.
> Not a good base, I think -- regexps are not really powerful enough to do
> the job well.

Yes regexp are quite limited.
Maybe a simple PEG parser based on packrat, with a syntax sugar for
defining one line set of rules?

> -Miles


reply via email to

[Prev in Thread] Current Thread [Next in Thread]