Recent

Author Topic: How to use FLRE regex engine?  (Read 1132 times)

wytwyt02

  • Jr. Member
  • **
  • Posts: 83
How to use FLRE regex engine?
« on: November 16, 2019, 10:46:31 am »
In https://wiki.freepascal.org/Regexpr, it seems FLRE is better than TRegExpr, But I do not know how to compile it and use on windows, The FLRE document is about on linux

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: How to use FLRE regex engine?
« Reply #1 on: November 16, 2019, 12:35:25 pm »
it seems FLRE is better than TRegExpr
FLRE is good, but as the wiki also states: less complete. Seriously less complete.
For windows., you can find precompiled binaries on the official repository https://github.com/BeRo1985/flre
Specialize a type, not a var.

wytwyt02

  • Jr. Member
  • **
  • Posts: 83
Re: How to use FLRE regex engine?
« Reply #2 on: November 16, 2019, 12:42:00 pm »
it seems FLRE is better than TRegExpr
FLRE is good, but as the wiki also states: less complete. Seriously less complete.
For windows., you can find precompiled binaries on the official repository https://github.com/BeRo1985/flre

Is there some another Regex engine for pascal? TRegExpr is fine, but do not support some features(zero width assertion, unicode character categories, and seems do not support \S)
« Last Edit: November 16, 2019, 01:02:58 pm by wytwyt02 »

BeniBela

  • Hero Member
  • *****
  • Posts: 905
    • homepage
Re: How to use FLRE regex engine?
« Reply #3 on: November 17, 2019, 02:43:07 pm »
FLRE is great

You can just put the unit in the search path.

wytwyt02

  • Jr. Member
  • **
  • Posts: 83
Re: How to use FLRE regex engine?
« Reply #4 on: November 20, 2019, 10:13:36 pm »
it seems FLRE is better than TRegExpr
FLRE is good, but as the wiki also states: less complete. Seriously less complete.
For windows., you can find precompiled binaries on the official repository https://github.com/BeRo1985/flre

I have not seen " less complete" on the wiki

 

TinyPortal © 2005-2018