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

Reinier Olislagers reinierolislagers at gmail.com
Sat Mar 23 07:31:44 CET 2013


On 23-3-2013 4:25, S. Fisher wrote:
> --- On Fri, 3/22/13, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>> From: Mattias Gaertner <nc-gaertnma at netcologne.de>
>> Subject: Re: [fpc-pascal] Re: Example: regular expressions and "hash-tables"
>> To: fpc-pascal at lists.freepascal.org
>> Date: Friday, March 22, 2013, 4:11 AM
>> On Fri, 22 Mar 2013 01:19:17 -0700
>> (PDT)
>> "S. Fisher" <expandafter at yahoo.com>
>> wrote:
>>
>>> --- On Thu, 3/21/13, Reinier Olislagers <reinierolislagers at gmail.com>
>> wrote:
>>>
>>>> From: Reinier Olislagers <reinierolislagers at gmail.com>
>>>> Subject: [fpc-pascal] Re: Example: regular
>> expressions and "hash-tables"
>>>> To: "FPC Mailing list" <fpc-pascal at lists.freepascal.org>
>>>> Date: Thursday, March 21, 2013, 5:35 AM
>>>> On 21-3-2013 2:14, S. Fisher wrote:
>>>>> Not actually a hash-table, but an AvgLvlTree,
>> which can
>>>> be used the
>>>>> same way.  The AvgLvlTree unit comes with
>> Lazarus;
>>>> if you don't have
>>>>> that, you can download avglvltree.pas here:
>>>>>
>>>>> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/lazutils/avglvltree.pas?root=lazarus&view=log
>>>>>
>>>>> There doesn't seem to be a lot of information
>> available
>>>> on using
>>>>> regular expressions and hash-tables in Free
>> Pascal, so
>>>> I decided to
>>>>> post this.
>>>>
>>>> If I'm not mistaken, see:
>>>> http://wiki.lazarus.freepascal.org/AVL_Tree
>>>>
>>>> Thanks,
>>>> Reinier
>>>
>>> Yes, that was one of the very few good references that
>> I found.
>>
>> Thanks. It's a wiki

Which means you're encouraged to place your contributions, code snippets
etc there.
It's of course personal taste, but IMO, code snippets/examples are much
better placed there than in a mailing list as they can be more easily
updated, formatted and categorized.

The lengthy article + example you posted on regexes is e.g. a perfect
candidate IMO....
http://wiki.lazarus.freepascal.org/Regexpr

Just my 2 cents,

thanks,
Reinier



More information about the fpc-pascal mailing list