[augeas-devel] [Augeas] #22: Put allows garbage after trailing '*'

Augeas trac at fedorahosted.org
Wed Sep 10 00:44:45 UTC 2008


#22: Put allows garbage after trailing '*'
--------------------+-------------------------------------------------------
 Reporter:  lutter  |       Owner:  lutter
     Type:  defect  |      Status:  new   
 Priority:  major   |   Milestone:  next  
Component:  Augeas  |     Version:  0.3.1 
 Keywords:          |  
--------------------+-------------------------------------------------------
 This test should produce an exception:


 {{{
   let lns =
     let entry (k:regexp) =
       [ key k . del "=" "=" . store /[0-9]+/ . del "\n" "\n" ] in
     (entry /a/) . (entry /b/)*

   test lns put "a=1\nb=2\n" after
     set "c2" "3"
   = *
 }}}

 Instead, it produces "a=1\nb=2\n"

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/22>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list