Path to this page:
./
devel/tre,
Lightweight and robust POSIX compliant regexp matching library
Branch: pkgsrc-2010Q2,
Version: 0.7.6nb1,
Package name: tre-0.7.6nb1,
Maintainer: agcTRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate (fuzzy) matching.
At the core of TRE is a new algorithm for regular expression matching with
submatch addressing. The algorithm 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(M2N), 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.
TRE includes a version of the agrep (approximate grep) command line tool
for approximate regexp matching in the style of grep. Unlike other agrep
implementations (like the one by Sun Wu and Udi Manber from University of
Arizona available here) TRE agrep allows full regexps of any length, any
number of errors, and non-uniform costs for insertion, deletion and
substitution.
Required to build:[
devel/libtool-base]
Master sites:
SHA1: 4ef5920edd00a82657f7a01b30abbbb063cc5d0b
RMD160: c8bb2dc7202da43bdff8dffcbcc0e5b5959ef138
Filesize: 468.7 KB
Version history: (Expand)
- (2010-07-05) Package has been reborn
- (2010-07-04) Package added to pkgsrc.se, version tre-0.7.6nb1 (created)