[augeas-devel] Re: [Interfaces] Draft lense

Raphaël Pinson raphink at gmail.com
Fri Aug 22 06:58:52 UTC 2008


On Fri, Aug 22, 2008 at 8:55 AM, Raphaël Pinson <raphink at gmail.com> wrote:

>
>
>
> let mapping = [ type "mapping" .
>                      ( (eol . empty*) | ((eol . empty*)? . comment) ) .
>                      option .
>                      (option|comment|empty)* ]
>


This should actually be

let mapping = [ type "mapping" .
                     ( eol | ((eol . empty)*? . comment) ) .
                      empty* .
                      option .
                      (option|comment|empty)* ]

since there could also be empty* after the first comment.


Ciao


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080822/b2a41de2/attachment.htm>


More information about the augeas-devel mailing list