[augeas-devel] [Augeas] #163: nrpe.aug does not compile

Augeas trac at fedorahosted.org
Tue Dec 7 16:25:51 UTC 2010


#163: nrpe.aug does not compile
---------------------+------------------------------------------------------
  Reporter:  mat     |       Owner:  mfo  
      Type:  defect  |      Status:  new  
  Priority:  major   |   Milestone:  next 
 Component:  Augeas  |     Version:  devel
Resolution:          |    Keywords:       
---------------------+------------------------------------------------------
Comment (by raphink):

 @mfo: the use of {{{^}}} in the regex makes no sense in Augeas. Augeas
 doesn't apply regexes line per line, but on the whole file as a whole,
 hence the use of {{{eol}}} (or {{{nl}}} in your case, although it would be
 a good idea to use the same standard as all other lenses as a side note).

 Using {{{^}}} in a regex is useless (and in that case, erratic).

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/163#comment:3>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list