Thread: Regex examples
View Single Post
Old 08-11-2014, 02:51 AM   #395
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,060
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Quote:
Originally Posted by mzmm View Post
there's going to be some issues with a regex that only catches pronouns, for a few reasons i think; one is that the formal Sie/Ihnen should remain uppercase, whereas sie (she) or ihnen (them) should be converted to lower case.

also, if one is referring to God, i'm uncertain as to weather that would constitute an uppercase Du, or lowercase du, so you may have to be aware of the context there.
Yes, with those exceptions you were dead-on, and I wouldn't even have had the courage to ask for the solution of them. Many thanks for your efforts, and, yes, today I'm going to try it. It would help me thus much if it worked, for the built-in spellcheck of word (or OO) won't consider those problems at all.

And I suppose it's sort of an ironic comment on the German grammar to write everything lowercase in English, isn't it?

Ah, and your example shows a guillemet, showing its peak to the left; that's indeed the French way to use them at the beginning of a direct speech (like a wrap). Here, it's more common to use (and I do it) a right-showing guillemet for the opening of a direct speech. So I have to replace it, I suppose?

Last edited by Leonatus; 08-11-2014 at 03:14 AM.
Leonatus is offline   Reply With Quote