TRE icon
TRE icon

TRE

TRE is a lightweight, robust, and efficient POSIX compliant regexp matching library with some exciting features such as approximate (fuzzy) matching.

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
-
No reviews
0likes
0comments
0news articles

Features

Suggest and vote on features
  1.  Support for regular expressions

 Tags

  • development
  • regex-engine
  • regexp
  • regexes
  • Library

TRE News & Activities

Highlights All activities

Recent activities

No activities found.

TRE information

  • Developed by

    FI flaglaurikari
  • Licensing

    Open Source and Free product.
  • Written in

  • Alternatives

    5 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

Education & ReferenceDevelopment

GitHub repository

  •  870 Stars
  •  143 Forks
  •  42 Open Issues
  •   Updated  
View on GitHub
TRE was added to AlternativeTo by David on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is TRE?

TRE is a lightweight, robust, and efficient POSIX compliant regexp matching library with some exciting features such as approximate (fuzzy) matching.

The matching algorithm used in TRE uses linear worst-case time in the length of the text being searched, and quadratic worst-case time in the length of the used regular expression.

In other words, the time complexity of the algorithm is O(M^2N), where M is the length of the regular expression and N is the length of the text. The used space is also quadratic on the length of the regex, but does not depend on the searched string. This quadratic behaviour occurs only on pathological cases which are probably very rare in practice.

FEATURES

  • Approximate pattern matching allows matches to be approximate.
  • Strict standard conformance.
  • Predictable matching speed.
  • Predictable and modest memory consumption.
  • Wide character and multibyte character set support.
  • Binary pattern and data support.

Official Links