Linux software

 
Contact Us
textproc : py-libtre
Python interface for the tre regular expressions library
Libtre is an attempt to create a lightweight, robust, and efficient fully POSIX compliant regexp matching library. There is still some work left, but the results so far are promising. At the core of Libtre 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.
Version number : 0.7.5
Md5 : MD5 (tre-0.7.5.tar.bz2) = e72e5c94008865cf720992a0b25d6e89 SHA256 (tre-0.7.5.tar.bz2) = 030f25e6e4c1714df013105494bc5e24b3e0acc65887158a52a03efd8e0759aa SIZE (tre-0.7.5.tar.bz2) = 396346
Linux Software