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

Dominique Dumont domi.dumont at free.fr
Sat Jul 26 16:11:01 UTC 2008


"Raphaël Pinson" <raphink at gmail.com> writes:

>
> 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!
>

I'm more familiar with Perl regex, but I think [^=:\/\n] should
do the trick. 

> If the real structure of php.ini does not consider sections, do you
> think it would be better to just see them as comments ?

Yes, because php see them as comments ;-). ( When in Rome, ... )

Another point of view is your future users' point of view. If php
ignore the INI sections, they probably don't want to be bothered with
them.

HTH




More information about the augeas-devel mailing list