Regular Expressions in Smalltalk?

Jason Rogers at
Tue Jun 22 10:38:54 UTC 2004

On Sunday 20 June 2004 05:02 pm, Avi Bryant wrote:
> On Jun 20, 2004, at 8:23 AM, Ned Konz wrote:
> > There are also some all-Smalltalk regex packages available; I haven't
> > tried
> > them or compared them against the plugin-based one (which is quite
> > fast and
> > complete, and comes with a number of tests).
> I did some benchmarking a while ago of the port of Vassili's regex
> package against the plugin, and wrote this to the list:
> "
> It did amazingly well - although it takes about 20x as long to compile
> a pattern, when actually matching the plugin only gave about a 3x speed
> boost.  Given that either way we're talking tens of thousands of
> matches per second for most input, I'm not sure a plugin is really
> necessary.
> "
> One advantage of using an all-Smalltalk package is that your code is
> more portable; it would be a real hassle to get a PCRE plugin going on
> VW or Dolphin, but Vassili's matcher already runs on them.  This may
> not be a concern for everyone, but it is for me.
> Avi

I thought that the package for Vassili's port states that it is supported ONLY 
on Windows.  If that's the case, it would leave us *nix users out in the 

Jason Rogers
117 N. First Street
Suite 90
Ann Arbor, MI 48104

Tel 734.302.7694
Fax 734.302.7694
Cel 734.846.5089

More information about the Squeak-dev mailing list