Does not work maximum letter number Y in {X,Y}-iterators

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
multan
Junior Member
Junior Member
Posts: 2
Joined: 2007-11-14, 21:00 UTC

Does not work maximum letter number Y in {X,Y}-iterators

Post by *multan »

does not work maximum letter number Y in {X,Y}-iterators
in TC v7.02a

Case. I looking for files in 8.3 format
using regular expression
.{0,8}\..{0,3}
or
.{0,11}
but "Seach" founds such files, for example:

aksioma 20000125 114422 initial state.pas
algebra 19990115 152004 initial state.pas
algebra 20060511 165554 ~format some functions.pas
algebra 20060619 213128.pas
algebra 20060619 213246 +Min & Max.pas
algebra 20070207 192552.pas
algebra 20070209 152134 +comments about dynamical arrays.pas
algebra 20070209 163042 +comments about dynamical arrays.pas
algebra 20070209 163910 +ErrCode on VectorSizeMax exeeding.pas
algebra 20070209 174322.pas
constant 19990327 193240 initial state.pas
constant 20060512 193156 +RowEnd constant.pas
constant 20060623 043818 ~correct comments.pas
constant 20060627 195204 +function AddEscPressingTo(flag).pas
constant 20060627 195204.pas
curves 20000226 184944 initial state.pas
curves 20060511 155742 .pas
curves 20060511 165742.pas


and so on
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

what about this:

Code: Select all

^{0,8}\..{0,3}$
I switched to Linux, bye and thanks for all the fish!
multan
Junior Member
Junior Member
Posts: 2
Joined: 2007-11-14, 21:00 UTC

Post by *multan »

if you mean

Code: Select all

^.{0,8}\..{0,3}$
- thanks. it help
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Faulty copy paste, sorry, yes, that is what I mean.
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

So is there really a bug, or just a missing $ (end of line) marker?
Author of Total Commander
https://www.ghisler.com
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Well considering the nature of RE, I think this is correct behaviour.
I switched to Linux, bye and thanks for all the fish!
Post Reply