On 11/28/18 1:52 PM, Dmitry Boyarintsev wrote: > Hello, > > I'm finding the following odd. > > Test cases: > #83 braces_numeric_range4 > editorconfig.exe -f braces.in <http://braces.in> > C:/test/editorconfig-test/glob/60 > number=true > > PASSED. > > #87 braces_numeric_range8 > editorconfig.exe -f braces.in <http://braces.in> > C:/test/editorconfig-test/glob/060 > number=true > > FAILED. > > The file name should match the pattern: > ; numeric braces > [{3..120}] > number=true > > But why? shouldn't integer comparison be applied? > where 060 = 60 and falls into 3..120 range? > or should it be character comparison only?
This is simply consistent with other major glob systems in shells, just
a rule that has already prevailed. Try `echo {3..120}` in bash, and you
won't see 060 in the list :)
Hong
--
You received this message because you are subscribed to the Google Groups
"EditorConfig" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/editorconfig.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
