[MacPorts] #14067: livecheck.distname is not properly escaped in livecheck.regex

MacPorts trac at macosforge.org
Wed Feb 27 02:48:37 PST 2008


#14067: livecheck.distname is not properly escaped in livecheck.regex
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                   |      Status:  new                                  
  Priority:  Normal                   |   Milestone:  MacPorts base bugs                   
 Component:  base                     |     Version:  1.7.0                                
Resolution:                           |    Keywords:                                       
--------------------------------------+-------------------------------------
Comment (by afb at macports.org):

 Replying to [ticket:14067 ryandesign at macports.org]:
 > There must be a Tcl function we can use which would properly escape a
 string for use in a regular expression, like
 [http://www.php.net/preg_quote preg_quote()] in php.

 Doesn't look that way, but then again it isn't impossible to just add one
 either.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14067#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list