TRE
Core Facts
TRE is a lightweight regular expression engine developed by Ville Laurikari that uses a non-backtracking matching algorithm.
TRE is a lightweight C-language regular expression library developed by Ville Laurikari that supports approximate matching and avoids the backtracking performance pitfalls of traditional regular expression engines.
TRE supports approximate matching, enabling fuzzy matching within an allowable edit distance.
All Facts (17)
TRE is a lightweight regular expression engine developed by Ville Laurikari that uses a non-backtracking matching algorithm.
65%VerifiedTRE is a lightweight C-language regular expression library developed by Ville Laurikari that supports approximate matching and avoids the backtracking performance pitfalls of traditional regular expression engines.
65%UnverifiedTRE does not support the backreferences feature.
90%UnverifiedTRE's matching time is linear with respect to input length, making it naturally immune to ReDoS attacks.
90%UnverifiedTRE does not rely on backtracking for regular expression matching, and its matching time is linear with respect to the length of the input string.
90%UnverifiedThe TRE project began in 2001.
85%UnverifiedTRE采用的是Ville Laurikari在其2000年硕士论文中提出的tagged DFA方法
85%UnverifiedTRE正则表达式库由芬兰开发者Ville Laurikari开发,采用确定性有限自动机(DFA)算法,保证匹配时间与输入长度呈线性关系
85%UnverifiedExperimental results showed that when faced with malicious regular expression patterns such as (a+)+$, Python's re module hangs for a long time, whereas TRE returns results quickly.
85%UnverifiedRedis founder Salvatore Sanfilippo (antirez) integrated TRE into Redis primarily to support fuzzy string matching capabilities.
85%UnverifiedThe TRE regular expression library was written by Finnish developer Ville Laurikari.
85%UnverifiedTRE adopts the Tagged NFA simulation algorithm proposed by Laurikari in his doctoral dissertation.
85%UnverifiedTRE performed far better than Python's standard library re module when facing ReDoS attacks.
85%UnverifiedWhen handling malicious regex patterns that can cause Python's re module to spend tens of seconds or even minutes computing, TRE can complete processing in milliseconds.
85%Partially VerifiedTRE supports approximate matching, enabling fuzzy matching within an allowable edit distance.
75%Partially VerifiedTRE is a POSIX-compatible regular expression library developed by Finnish developer Ville Laurikari that does not use backtracking algorithms.
75%Partially VerifiedTRE uses an algorithm based on TNFA (Tagged NFA) with a time complexity of O(n·m), fundamentally eliminating the exponential performance risks caused by backtracking.
65%