[squeak-dev] String>>match: broken
Herbert König
herbertkoenig at gmx.net
Sat Jan 15 11:09:53 UTC 2011
Hello Janko,
JM> Because this new match behavior (not allowing two '**') is new only in
JM> Squeak but allowed in all other Smalltalks, I propose to reconsider this
JM> decision and better retract back to old behavior.
it's not that easy.
The change was intended to be a real fix. The comment in the 1998
version already states '**' not being allowed. And with the old
version:
'http*' match: 'httpgaga' returns true while
'http**' match: 'httpgaga' returns false.
See Mantis http://bugs.squeak.org/view.php?id=6841
--
Best regards,
Herbert
More information about the Squeak-dev
mailing list
|