[fpc-pascal] Split stream into words
Marcos Douglas B. Santos
md at delfire.net
Tue Jul 3 15:42:53 CEST 2018
On Tue, Jul 3, 2018 at 10:26 AM, Michael Van Canneyt
<michael at freepascal.org> wrote:
>
>
> On Tue, 3 Jul 2018, Marcos Douglas B. Santos wrote:
>
>> On Tue, Jul 3, 2018 at 7:50 AM, Michael Van Canneyt
>> <michael at freepascal.org> wrote:
>>>
>>>
>>> On Tue, 3 Jul 2018, Marco van de Voort wrote:
>>> Trivial indeed, till you need more fine-grained control.
>>> e.g. C needs to be an array of chars that mark word boundaries etc.
>>>
>>> But I managed to solve the problem with regexps...
>>
>>
>> How?
>
>
> I misunderstood how Split works. The regex is the 'word separator' in that
> function.
>
> The following correctly gives me all words. unit uregexp is the regexp unit
> compiled for unicode.
Thanks.
But, is uregexp part of FPC?
Marcos Douglas
More information about the fpc-pascal
mailing list