Feature request : Operator AND in "Find text"

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pgriffet
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Feature request : Operator AND in "Find text"

Post by *pgriffet »

I was hoping that the regex option would provide the AND operator for the "find text" in "Find files".
But I'm disappointed, we only have the OR (with the | character).
I know, I can search for a word in a folder and then, "Feed to listbox" and a search on another word but it would be easier to search for 2 strings in one pass.
I don't know if it's a regex limitation but if it's the case, then an option in the standard box providing two search strings would be great.
Sorry if somebody has already asked for such a feature.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

we only have the OR (with the | character)
Did I miss something ?

AFAIK the pipe is not part of RegEx but means NOT ...
#5767 Personal license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

OR or NOT?

Post by *Clo »

sqa_wizard wrote:
we only have the OR (with the | character)
Did I miss something ?

AFAIK the pipe is not part of RegEx but means NOT ...

:) Hello!
:roll: Though I know "nuts" at programming, following the Help at RegEx topic under Alternatives, the Ch. Ghisler's explanation lets to think that it's alright a logic "OR" function... :?:

Friendly,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

2Clo: Yes, you are right, there are 2 different meanings of the pipe.

Within () it means OR (RegEx enabled), but does it still have the NOT operator outside () ?
#5767 Personal license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Re: Feature request : Operator AND in "Find text"

Post by *Clo »

pgriffet wrote:I was hoping that the regex option would provide the AND operator for the "find text" in "Find files".
But I'm disappointed, we only have the OR (with the | character).
I know, I can search for a word in a folder and then, "Feed to listbox" and a search on another word but it would be easier to search for 2 strings in one pass.
I don't know if it's a regex limitation but if it's the case, then an option in the standard box providing two search strings would be great.
Sorry if somebody has already asked for such a feature.
Hello, bonsoir!
- I found a help file in French about RegEx (from the original DLL-author)
Available at:
http://perso.wanadoo.fr/charries/relais/regexpf.zip
I didn't check it yet, but maybe there are infos to know why that AND function is actually missing in TC?
:D Friendly,
Cordialement,
Claude
Clo
Last edited by Clo on 2003-12-12, 09:15 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
pgriffet
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Merci Claude, I will check it.
pgriffet
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Actually, there is nothing about a AND option in the regexp documentation so, Christian has to write code to implement it.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

sqa_wizard,
Within () it means OR (RegEx enabled), but does it still have the NOT operator outside () ?
Maybe ^(Don'tFindMe) is NOT?


Clo,
AND function is actually missing in TC
You mean like (FindMe.*AndMe|AndMe.*FindMe) ?

HTH
Roman
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Something---

Post by *Clo »

Hacker wrote:sqa_wizard,
Within () it means OR (RegEx enabled), but does it still have the NOT operator outside () ?
Maybe ^(Don'tFindMe) is NOT?


Clo,
AND function is actually missing in TC
You mean like (FindMe.*AndMe|AndMe.*FindMe) ?

HTH
Roman
:D Hi Roman!
Following the pgriffet's request:
"I was hoping that the regex option would provide the AND operator for the "find text" in "Find files".
But I'm disappointed, we only have the OR (with the | character). ..."

I think it's something like this (I'm not an expert at that...)
:) Friendly,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Errrm, sorry, I don't quite understand your reply... :(

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply