[augeas-devel] Re: [PATCH] Add PHP module and associated (basic) test file

David Lutterkort dlutter at redhat.com
Sat Jul 26 16:48:37 UTC 2008


On Sat, 2008-07-26 at 15:36 +0200, Raphaël Pinson wrote:

>         
>         An alternative way would be to use Augeas only to perform
>         transformation from syntax to abstract tree and to
>         control/validate
>         the content of the abstract tree with another tool. Your tons
>         of
>         keywords would be declared in and verified by this other tool.
> 
> This was my original idea... but [^=:\n] matches "/" so I didn't find
> a way to specify a key word without naming it. Any idea is welcome!

Are '/' legal in keys in php.ini ? I would hope not ;) I would
assume/hope that it's fairly restrictive, like [.a-zA-Z0-9]+. Figuring
out the right regexp might require a look into the PHP sources though -
unfortunately, in a lot of cases, the docs leave out such minor details.

David






More information about the augeas-devel mailing list