[augeas-devel] [Augeas] #147: Union of case-insensitive regexps breaks future instructions

Augeas trac at fedorahosted.org
Tue Oct 26 21:29:57 UTC 2010


#147: Union of case-insensitive regexps breaks future instructions
----------------------+-----------------------------------------------------
  Reporter:  raphink  |       Owner:  lutter
      Type:  defect   |      Status:  new   
  Priority:  major    |   Milestone:  next  
 Component:  Augeas   |     Version:        
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Comment (by raphink):

 As a note, this:

 {{{
 let not_working2 =
   let kw = /(success)|(unavail)/i
     in key_val kw
 }}}

 does not work either, but this:

 {{{
 let working2 =
   let kw = /[Ss][Uu][Cc][Cc][Ee][Ss][Ss]/ | /[Uu][Nn][Aa][Vv][Aa][Ii][Ll]/
     in key_val kw
 }}}

 works.

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




More information about the augeas-devel mailing list