[fpc-pascal] Example: regular expressions and "hash-tables"

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Fri Mar 29 11:32:52 CET 2013


S. Fisher wrote:
> --- On Wed, 3/20/13, S. Fisher <expandafter at yahoo.com> wrote:
> 
>> The program reads a text file and counts the number of
>> unique words,
>> and also displays the number of times the most common word
>> was found.
>>
> 
> For comparison, here's a C++ program.  Unlike the Pascal version,
> it shows the 20 most common words.  Also, it doesn't use a
> regular expression engine, since I didn't have one.

If it's C++ and doesn't use regular expressions, is it really relevant here?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list