[augeas-devel] [PATCH] Ntp: enhance lens
David Lutterkort
lutter at redhat.com
Tue Feb 17 16:30:34 UTC 2009
On Tue, 2009-02-17 at 09:39 +0100, Raphaël Pinson wrote:
> (* define comments and empty lines *)
> - let comment = [ label "comment" . del /#[ \t]*/ "#" .
> store /([^ \t\n][^\n]*)?/ . eol ]
> + let comment = [ label "comment" . del /#[ \t]*/ "#" .
> + store /([^ \t\n][^\n]*)?/ . del "\n"
> "\n" ]
> let empty = [ del /[ \t]*\n/ "\n" ]
>
>
>
> How about using 'label "#comment"' to make it compliant to our new
> comment field policy ?
Yeah, good point. I'll fix that before pushing it.
David
More information about the augeas-devel
mailing list