On Tue, 3 Jul 2018, Marcos Douglas B. Santos wrote:

On Tue, Jul 3, 2018 at 10:26 AM, Michael Van Canneyt
<mich...@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
<mich...@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?

Not yet, but I intend to make it so.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to