Re: [Midnight Commander] #207: Minor regex fixes



#207: Minor regex fixes
---------------------------------------------------+------------------------
  Reporter:  Patrick Winnertz <winnie debian org>  |       Owner:  winnie                              
      Type:  defect                                |      Status:  accepted                            
  Priority:  major                                 |   Milestone:  4.6.2                               
 Component:  mc-core                               |     Version:  4.6.1                               
Resolution:                                        |    Keywords:  vote-slavazanko vote-slyfox approved
  Blocking:                                        |   Blockedby:                                      
---------------------------------------------------+------------------------
Changes (by slyfox):

  * keywords:  review vote-slavazanko => vote-slavazanko vote-slyfox
               approved


Comment:

 > 99c_fix-regex-newline-match.patch

 Changes regex subst behaviour for following example:
 regex: '''s,3$,TEST,'''
 file_to_edit:
 {{{
 1 2 3
 1 2 3
 1 2 3
 }}}

 When patch applied all the '''3''' are substituted, without the patch -
 only the last occurence. So patch is clearly a Good Thing :]

 > 99a_fix-regex-bol-match.patch

 Nothing looks broken, but I could not figure an example to test this
 change. Could you provide one?

 My vote is yours :]

-- 
Ticket URL: <www.midnight-commander.org/ticket/207#comment:5>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]