Forum Replies Created
OS : Windows XP SP3
EmEditor version : 8.06
It works PERFECTLY thr !
Thank you so much !!!! :-)
Sorry if this all sounds so difficult, the biggest problem is my little knowledge of English to explain the problem
properly, and of course I’m far from a pro into brewing regular expressions.
Perhaps, I can give some kind of English example that gives an
idea of what I mean.
So, In English, correcting the following line(s) properly.
Is that possible to properly correct with 1 single line of regexp ?
English example :
I wantto lookto the car, while doing a salto justto celebrate how great is it.
with the example above, you cannot simple say : Look for any word that ends with to and put
a space inbetween it, because then the word salto would improperly been turn apart. And of course,
checking that the words to search for, are indeed surrounded by a space or a comma, or a newline, is not possible too,
because in the English example I gave the space after wantto is being captured, so the regexp doesn’t correct
the lookto right after it, because there it doesn’t see the preceding space
because it is handled by the match before it.
So, what can I do, I guess I can only write all my regexp’s double, or is there any
special switch to make it work correctly with 1 line of regexp ?
EDIT: before you say look to is not correct and has to be look at, I know ! :-D it’s
only just to give an example.
Second line error’ed out, missing ).
Even when corrected, doesn’t do anything.
First line did it completely wrong also, even when I corrected thr’s suggestions to have double backslashes, and correct ().
It’s not the aspect of simplifying things for example to match a whole word followed by [je], I need to use the words in my top post matched, since those MAY NEVER be followed by [je], only when there’s a space in between.
Other words can be followed directly by je, since I’m correcting Dutch texts, and there je at the end of a word means “little” in English.
So, these words translated from Dutch to English.
Pak = Box
Pakje = Little box
Kind = Child
Kindje = Little child
Hond = Dog
Hondje = Little dog
Denk = Think
Wil = Want
Dacht = Thought
…. so above cannot be followed by [je] since that is not correct, there doesn’t exist any little think, or little want, or little thought.
Please, can anyone help me out ? :-(
P.S. Sorry for my bad English.
Thank you very much for the detailed explanation thr !
I owe you one ! :-)
Aaaaagh! Exactly, shame on me that I didn’t think about that.
After all, I’m a real newbie regarding regexp’s,
Only problem, I use bot the first (newline OR space) and the last (newline OR space) in the replacement as 1 and 3 , that means the ?= will NOT assign the following newline or space to 3 ?
so with the replacement line of 12 je3 3 will be empty even if there IS a space or newline after “je”, am I right ?
Thanks for the help!
I’m trying to make it as easy as possible, I just want to check for any of these combo’s and put a space between them and je, only if these are surrounded by a space or are at the beginning or end of a line.
So…. I don’t think I can make it simpler than that. :-D
document.selection.Replace("(rn| )(denk|wil|dacht|kan|wilde|ben|zie)je(rn| )","12 je3",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Really nobody ?
Yes, I’m still using v8, is it safe to use v9 now already ?
Thanks.September 6, 2009 at 6:31 am in reply to: Can I use spell checking dictionaries & hyphenation dictionaries from Open Office? #7601
EDIT: [SOLVED] AspellChecker013 installed, and working fine.? :-)September 6, 2009 at 6:19 am in reply to: SpellChecker plug-in: Requires Microsoft Office spell checking module, where do I get this? #7600
Yeah, why can’t we get something like the Aspell spellchecker as Notepad++ uses it ? :-(