*
ga*****@hotmail.com:
Dear all,
I was looking for a c++ implementation of regular expressions using
the Interpreter Design Pattern. GOF only references a Smaltalk
implementation which I can not read :(.
Figuring out what you're asking about took some Googling. A trivial
concept with a misleading name. The point of patterns was to name them
authoritatively so we could all know what others are talking about or at
least look it up in a few mouse-clicks, but either it didn't turn out
that way, or I'm atypical, not a compulsive pattern name memorizer.
Hah, I remember the name Visitor, because it's so often necessary
provide just the name in explanations to newbies. Anyway, I think it
would have been better if you simply described the problem.
Does anyone know a link besides the cuj january 2003 article ('A
Different Interpretation of the Interpreter Design Pattern'). I am
especially stuck with the context object, since all these regular
expression operators seems to generate different possible input
states.
Don't know if this is different or the same (since /you/ don't provide a
link), but look up <url:
http://research.microsoft.com/projects/greta/regex_perf.html>, which I
found by Googling.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?