From: Paul Mackerras Date: Sat, 27 Sep 2008 03:18:04 GMT Subject: Re: gitk: Turn short SHA1 names into links too Message-ID: <18653.42476.355550.345797@cargo.ozlabs.ibm.com> In-Reply-To: Wincent Colaiuta writes: > It's a shame that tcl/tk regular expressions don't appear to support > anchoring matches against word boundaries (ie. "\b"). They do. From the re_syntax (3tcl) man page: \m matches only at the beginning of a word \M matches only at the end of a word \y matches only at the beginning or end of a word \Y matches only at a point that is not the beginning or end of a word Paul.