O > SLLogMorph>>#testFilter: aMessage > | lowerString | > lowerString := aMessage value value asLowercase. > ^(self searchString asString substrings allSatisfy: [:sub | > sub := (sub asLowercase) replaceAll: $_ with: (Character space). > ((sub first = $-) and: [(lowerString includesSubString: sub > allButFirst) not]) or: > [(sub first = $+) and: [lowerString includesSubString: sub > allButFirst]] or: > [lowerString includesSubString: sub]]) > > I think you cannot modify the sub block variable in Pharo...
in any blockclosure implementation in fact Stef _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
