[Bug?] Regex search issue

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jzekeb
Junior Member
Junior Member
Posts: 15
Joined: 2005-01-09, 19:52 UTC

[Bug?] Regex search issue

Post by *jzekeb »

Under Find Files and the M-RT if I select RegEx and search on 00. it returns or matches file001.txt - file009.txt, etc. as expected but it also returns file100.txt. The . should not be taken as a literal unless it is escaped \.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

jzekeb
You are not right. The dot means any character, even the dot itself. If you don't want it to, you may use exclusive expression: [^\.]
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
jzekeb
Junior Member
Junior Member
Posts: 15
Joined: 2005-01-09, 19:52 UTC

Post by *jzekeb »

Thus the ? in the title.

You are certainly correct. Thanks for the syntax.
Post Reply