Re: accented characters and regex ...

2014-09-28 Thread Johnny Rosenberg
Here's another macro, somewhat easier to follow and faster: REM * BASIC * Option Explicit Sub Main Dim SearchString(16) As String Dim ReplaceString(16) As String SearchString=Array( "a'", "e'", "i'", "o'",_ "u''","u'", "n~", "?'",_ "!'", "A'", "E'", "I'",_ "O'", "U''","U'", "N~") Repl

Re: accented characters and regex ...

2014-09-28 Thread Albretch Mueller
Thank you for sharing kanni lbrtchx - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org

Re: accented characters and regex ...

2014-09-28 Thread johnny smith
On Sat, 27 Sep 2014 08:12:12 -, Albretch Mueller wrote: Sometimes I need to write up or edit text in Spanish or German, so I need to be able to replace accented characters at once. A'lgebra I: ?'Do'nde encuentro una gui'a de te'rminos Matema'ticos u'nicos para el an~o? Should become at

Re: accented characters and regex ...

2014-09-27 Thread Albretch Mueller
> Obviously this is not what you wanted to hear. Maybe not I was kind of thinking of a regex which you can use with some java code so when you hit "send" it takes your text and works it in one go Of course, you can code such a thing easily with a char map strategy, but I was thinking of a regex

Re: accented characters and regex ...

2014-09-27 Thread Fernando Cassia
On Sat, Sep 27, 2014 at 11:25 AM, Albretch Mueller wrote: > "Simplest" are your assumptions. First, I don't use Windows; second, > I find myself very often having to use more than one lang in the same > text; third, at times I use other editors (for coding, for example); > fourth, I teach, so I

Re: accented characters and regex ...

2014-09-27 Thread Johnny Rosenberg
2014-09-27 16:25 GMT+02:00 Albretch Mueller : > > How? simple... switch your keyboard configuration to Spanish-Traditional > > (in Windows XP to 7, this is done from Control Panel, under "regional > > settings", click on the "Languages" tab and then on the "details" button. > > "Simplest" are you

Re: accented characters and regex ... more

2014-09-27 Thread Doug
On 09/27/2014 01:32 PM, Doug wrote: (See addendum to previous message, below.) >> >> > I don't know how to "replace them all at once" but I know how to make > them as you go. Set up a Compose key on your keyboard. I use right alt, > but if you have a Microsoft k/b, you could use the right m/s key.

Re: accented characters and regex ...

2014-09-27 Thread Doug
On 09/27/2014 04:12 AM, Albretch Mueller wrote: > Most of the times I type in English so I don't need to worry about > accented characters > > Sometimes I need to write up or edit text in Spanish or German, so I > need to be able to replace accented characters at once. > > After marking them up w

Re: accented characters and regex ...

2014-09-27 Thread mt
G'day Albretch, On 27/9/14 at 12:25 AM, lbrt...@gmail.com (Albretch Mueller) wrote: How? simple... switch your keyboard configuration to Spanish-Traditional (in Windows XP to 7, this is done from Control Panel, under "regional settings", click on the "Languages" tab and then on the "details" bu

Re: accented characters and regex ...

2014-09-27 Thread Albretch Mueller
> How? simple... switch your keyboard configuration to Spanish-Traditional > (in Windows XP to 7, this is done from Control Panel, under "regional > settings", click on the "Languages" tab and then on the "details" button. "Simplest" are your assumptions. First, I don't use Windows; second, I fin

Re: accented characters and regex ...

2014-09-27 Thread mt
I often have to do that with Italian accented letters - my simplistic approach is to keep a reference file with all accented (or otherwise modified) letters, which I copy and paste in the "Replace with" field. This doesn't take as long as I would need for a macro... but then I am not a programm

Re: accented characters and regex ...

2014-09-27 Thread Brian Barker
At 04:12 27/09/2014 -0400, Albretch Mueller wrote: Most of the times I type in English so I don't need to worry about accented characters. Sometimes I need to write up or edit text in Spanish or German, so I need to be able to replace accented characters at once. After marking them up with tick

Re: accented characters and regex ...

2014-09-27 Thread Fernando Cassia
On Sat, Sep 27, 2014 at 5:12 AM, Albretch Mueller wrote: > Most of the times I type in English so I don't need to worry about > accented characters > > Sometimes I need to write up or edit text in Spanish or German, so I > need to be able to replace accented characters at once. > This is the wro

accented characters and regex ...

2014-09-27 Thread Albretch Mueller
Most of the times I type in English so I don't need to worry about accented characters Sometimes I need to write up or edit text in Spanish or German, so I need to be able to replace accented characters at once. After marking them up with ticks next/right to the character you can search all of th