#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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to