It's also slower, which is why as of today 'a.*b' works even without
sending #asRegex.

Slower because of repeated sends of asRegex?

Yes.  Or just because 1 send is already more than 0!

I'd rather see new syntax for compile-time evaluation in literal
position, instead of specialised syntax for regex literals.

##('a.*b' asRegex)

A bit verbose but yes, it is a possibility if performance is a concern. And it works now.

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to