Quote:
Originally Posted by Doitsu
@Jellby: Can you optimize this simple regex by creating a regex that will find a Greek word not followed by a hyphen and the same Greek word using backreferences and negative lookbehinds?
|
I could try, but I can only test it in vim, which uses a different regex dialect, so I don't think it would be very useful. Besides, I would rather do as you suggested: first replace repeated Greek words.