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

Slower because of repeated sends of asRegex?

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

##('a.*b' asRegex)

> However, *always* treating string literals as regexes is going to give
> problems in the long term.

Agreed. Type-punning is often not a great idea.

Regards,
  Tony



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

Reply via email to