Commit graph

2 commits

Author SHA1 Message Date
Adrian Portelli
1ac3e9cda9 - Update to 0.7.0
- Lots of updates/bugfixes - see the Changelog for full details
2004-11-03 10:13:55 +00:00
Adrian Portelli
f366eb9f0a TRE 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.
2004-09-29 23:18:45 +00:00