[augeas-devel] [Augeas] #113: Empty alteration in regex make augparse dump core

Augeas trac at fedorahosted.org
Wed Mar 3 22:05:46 UTC 2010


#113: Empty alteration in regex make augparse dump core
-------------------------+--------------------------------------------------
  Reporter:  dmichelsen  |       Owner:  lutter  
      Type:  defect      |      Status:  assigned
  Priority:  major       |   Milestone:  next    
 Component:  Augeas      |     Version:  0.7.0   
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------
Changes (by lutter):

  * status:  new => assigned

Comment:

 That's actually two bugs hiding underneath each other:

   * the segfault should not happen, period
   * augeas should accept a regexp like /(a|)/ to mean the same as /a?/

 For now, you can work around it either by using '()' for the regexp
 matching only the empty word, or use '?'

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




More information about the augeas-devel mailing list