TC 7.50a - character lost from regular expression

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Csimbi
Member
Member
Posts: 102
Joined: 2004-06-16, 08:27 UTC

TC 7.50a - character lost from regular expression

Post by *Csimbi »

Copy-paste this in your WINCMD.INI file:

Code: Select all

[searches]
Files & dirs with short names_SearchFor=
Files & dirs with short names_SearchFlags=0|000002000020|||||||||0000|
Files & dirs with short names_plugin=tc.fullname regex ^[^.]{1,8}(\.[^.]{1,3})?$
Start TC, hit ALT+F7, got to the Load/Save tab and double-click on "Files & dirs with short names".
Do not start search, but go to the Plugins tab and check the regular expression loaded. You will see this:

Code: Select all

^[^.]{1,8}(.[^.]{1,3})?$
Note the missing backslash - resulting in wrong search results.
Thank you for fixing.
Best regards: Csimbi
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Files & dirs with short names_SearchFor=
Files & dirs with short names_SearchFlags=0|000002000020|||||||||0000|
Files & dirs with short names_plugin=tc.fullname regex ^[^.]{1,8}(\\.[^.]{1,3})?$
Fixed :wink:

Regards
Holger
Post Reply