<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/0310feb5f4c3858e067e3500936f6fa099c78803">https://github.com/macports/macports-base/commit/0310feb5f4c3858e067e3500936f6fa099c78803</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 0310feb livecheck: add -nocase to ignore all cases in regexp
</span>0310feb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0310feb5f4c3858e067e3500936f6fa099c78803
</span>Author: Kurt Hindenburg <kurt.hindenburg@gmail.com>
AuthorDate: Sun Feb 26 23:10:20 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> livecheck: add -nocase to ignore all cases in regexp
</span>---
src/port1.0/portlivecheck.tcl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portlivecheck.tcl b/src/port1.0/portlivecheck.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 486d959..0b88cc4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portlivecheck.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portlivecheck.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -155,7 +155,7 @@ proc portlivecheck::livecheck_main {args} {
</span> ui_debug "The regex is \"$the_re\""
if {${livecheck.type} eq "regexm"} {
set data [read $chan]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[regexp $the_re $data matched updated_version]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[regexp -nocase $the_re $data matched updated_version]} {
</span> set foundmatch 1
ui_debug "The regex matched \"$matched\", extracted \"$updated_version\""
if {$updated_version ne ${livecheck.version}} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -172,8 +172,8 @@ proc portlivecheck::livecheck_main {args} {
</span> set updated_version 0
while {[gets $chan line] >= 0} {
set lastoff 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- while {$lastoff >= 0 && [regexp -start $lastoff -indices $the_re $line offsets]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- regexp -start $lastoff $the_re $line matched upver
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {$lastoff >= 0 && [regexp -nocase -start $lastoff -indices $the_re $line offsets]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp -nocase -start $lastoff $the_re $line matched upver
</span> set foundmatch 1
if {$updated_version == 0 || [vercmp $upver $updated_version] > 0} {
set updated_version $upver
</pre><pre style='margin:0'>
</pre>