[Top][All Lists]

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

[vile] bug in the TCL filter

From: Wayne Cuddy
Subject: [vile] bug in the TCL filter
Date: Wed, 15 Oct 2014 15:36:10 -0400
User-agent: Mutt/

This code:

proc ProcessFile {date chan} {
    while {[gets $chan line] >= 0} {
        if {! [string match {*] rcvd frame, fifos *} $line]} {

Will cause all highlighting following the final '}' of the ProcessFile
function to stop. The cause is the ']' in the curly brace pattern arg
to [string match]. It works if I change the pattern to "*\] ..." but I
tend to use cutely brace strings so I don't have to clutter the string
with escape sequences.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]