unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ß (eszett) and regexp trouble
@ 2011-11-19 21:02 Memnon Anon
  2011-11-19 22:34 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Memnon Anon @ 2011-11-19 21:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I just noticed an inconvenience with regexp searching and the ß char.

Try this: C-M-s (isearch-forward-regexp) with [[:lower:][:digit]] 
now:

        This is a sentence. All lower chars (like abc or ß !) and 
        digits like 123 should be matched.

Well, ß is not matched.

I found some info regarding that problem, e.g.

http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00460.html

Yes, ß is problematic (no uppercase version, should be replaced with
SS, but not all SS are ß etc. etc.), but I have to guess german emacs
users must have figured out what to do about this already.

So, what do you do?
Do you use the uppercase ß char in your standard-case-table?
Do you suffer from performance issues doing so?

tia,

Memnon




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ß (eszett) and regexp trouble
  2011-11-19 21:02 ß (eszett) and regexp trouble Memnon Anon
@ 2011-11-19 22:34 ` Peter Dyballa
  2011-11-19 23:21   ` Memnon Anon
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2011-11-19 22:34 UTC (permalink / raw)
  To: Memnon Anon; +Cc: help-gnu-emacs


Am 19.11.2011 um 22:02 schrieb Memnon Anon:

> So, what do you do?

I simply do not try to upcase words with ß. When I really have to I know that left from it is already at least one capital and right from it is another or white space or punctuation. Easy to handle, ißn't it?

--
Mit friedvollen Grüßen

  Pete

Der größte Aberglaube der Gegenwart ist der Glaube an die Vorfahrt.
				(Jacques Tati)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ß (eszett) and regexp trouble
  2011-11-19 22:34 ` Peter Dyballa
@ 2011-11-19 23:21   ` Memnon Anon
  0 siblings, 0 replies; 3+ messages in thread
From: Memnon Anon @ 2011-11-19 23:21 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

>> So, what do you do?
> I simply do not try to upcase words with ß. 

This does not only affect upcase-x.
The question that triggered this was about subword-forward.

Memnon




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-19 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-19 21:02 ß (eszett) and regexp trouble Memnon Anon
2011-11-19 22:34 ` Peter Dyballa
2011-11-19 23:21   ` Memnon Anon

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 read-only IMAP folder(s) and NNTP newsgroup(s).