all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 13084@debbugs.gnu.org
Subject: bug#13084: boyer_moore crashes with certain characters in the case	table
Date: Wed, 12 Dec 2012 12:31:57 +0200	[thread overview]
Message-ID: <87y5h3mu9i.fsf@mail.jurta.org> (raw)
In-Reply-To: <50C85AB0.30009@gmx.at> (martin rudalics's message of "Wed, 12 Dec 2012 11:21:36 +0100")

>> So the dataflow to get the canonical character will be Á -> A -> a.
>> If `case-fold-search' is nil, then Á -> A.  If a new variable
>> `decomposition-search' (or `normalized-search') is nil then Á -> á.
>
> Any such table should allow handling asymmetric searches: That is,
> searching for "ába" should match "ába" "ábà" and "ábá" but not "aba" or
> "àbá".  Can we do that?

IIUC what you mean is something like `search-upper-case'
where upper case chars disable case fold searching,
so "Aba" should match "Aba" and "AbA" but not "aba".





  reply	other threads:[~2012-12-12 10:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05  0:34 bug#13084: boyer_moore crashes with certain characters in the case table Juri Linkov
2012-12-11 15:37 ` Eli Zaretskii
2012-12-11 23:17   ` Juri Linkov
2012-12-12  3:55     ` Eli Zaretskii
2012-12-12  9:27       ` Juri Linkov
2012-12-12 10:21         ` martin rudalics
2012-12-12 10:31           ` Juri Linkov [this message]
2012-12-12 12:43             ` martin rudalics
2012-12-12 16:47         ` Eli Zaretskii
2012-12-12 23:05           ` Juri Linkov
2012-12-13 13:39   ` Kenichi Handa
2012-12-13 17:32     ` Eli Zaretskii
2012-12-15 13:17       ` Kenichi Handa
2012-12-15 13:55         ` Eli Zaretskii

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=87y5h3mu9i.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=13084@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.