Regex question

Beatrix Willius bwillius at gmx.de
Sat Jul 31 12:42:23 CDT 2010


Hi jda/Any,

you need brackets around your "or" construct. Try

> 'coffee([\r\t]|$)'

And mind the spaces in the regex. See http://docs.realsoftware.com/index.php/RegEx

Am 31.07.2010 um 19:00 schrieb jda:

> I can successfully search for names that end with a return or tab character like this:
> 
> 'coffee[\r\t]'
> 
> 
> or words that are at the end of the text, like this
> 
> 'coffee$'
> 
> How would I search for all with a single search?
> 
> I've tried the OR character
> 
> 'coffee[\r\t] | $'
> 
> and other variants without success. Of course I can do two separate searches and OR them, but that's ugly.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.



More information about the Valentina mailing list