EmEditor (text editor) Forum Index
   Regular Expressions
     RegExp OR function misbehaviour ?
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
thr
Posted on: 9/13/2009 9:59 am
Just popping in
Joined: 9/12/2009
From:
Posts: 3
Re: RegExp OR function misbehaviour ?
Yes, there were some typos in my posts. Also, I only tested the regular expressions through the Replace dialog. But I just created a macro containing this:
document.selection.Replace("\\<(denk|wil|dacht|kan|wilde|ben|zie)je\\>","\\1 je",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);

Here at least, it works as expected.
Salabim
Posted on: 9/13/2009 10:50 pm
Quite a regular
Joined: 9/5/2009
From: Ghent (Belgium)
Posts: 58
Re: RegExp OR function misbehaviour ?
It works PERFECTLY thr !

Thank you so much !!!!
TimGreen
Posted on: 11/10/2009 5:41 am
Just popping in
Joined: 11/10/2009
From:
Posts: 5
Re: RegExp OR function misbehaviour ?
By the way: For anyone working with complex RegExes, Regex Buddy is an absolute must. It's worth many times the $30 or so that it costs and comes with the best tutorial for RegEx that I've ever seen. It has fantastic tools to help you build, test and debug RegExes and apply them in most common languages and environments. I use it all the time for building the RegExes that I use in EmEditor and elsewhere and I learn something new every time I use it.

www.regexbuddy.com

I don't have anything to do with the company that produces it, I'm just a very happy customer...
« 1 (2)
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文