public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
From: khi at users.sourceforge.jp (khi at users.sourceforge.jp)
Subject: [Howm-eng 32] Re: highlighting keywords, but not within a word
Date: Wed, 21 Feb 2007 21:33:42 +0900	[thread overview]
Message-ID: <m3slczzo49.wl@silpion.i> (raw)
In-Reply-To: <447775300702201232l590b6b2eha2276d63f16d56c7@mail.gmail.com>

At Tue, 20 Feb 2007 13:32:28 -0700,
Peter Mielke wrote:
> One irritation i had with the highlighing in howm buffers is that the
> keywords were being highlighted even within a word. So for example i
> have one keyword "ris" and the "ris" in "highrise" was being
> highlighted. So i added word breaks to the regular expression for
> highlighting keywords:

Thanks!
I'll put your code into the next test-version in a few days.

I'd like to make it an optional feature;
Japanese language doesn't have explicit separators between words,
and "\b" often overlooks word breaks.

-- 
khi at users.sourceforge.jp


      reply	other threads:[~2007-02-21 12:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 20:32 [Howm-eng 31] " peter.mielke
2007-02-21 12:33 ` khi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3slczzo49.wl@silpion.i \
    --to=howm-eng@lists.osdn.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).