CiteULike is a free online bibliography manager. Register and you can start organising your references online.

New Algorithms for Regular Expression Matching TeX Export

(28 Jun 2006)

Citation Format

[Posts]

View FullText article


vidal31's tags for this article

algorithmes expression rgulire string-matching

X Reviews [Write a review of this article]

X Find related articles from these CiteULike users

X Find related articles with these CiteULike tags

X Posting History

X Abstract

In this paper we revisit the classical regular expression matching problem, namely, given a regular expression $R$ and a string $Q$, decide if $Q$ matches one of the strings specified by $R$. Let $m$ and $n$ be the length of $R$ and $Q$, respectively. On a standard unit-cost RAM with word length $w ≥ \log n$, we show that the problem can be solved in $O(m)$ space with the following running times: \beginequation* \begincases <br />O(n\fracm \log ww + m \log w) & \textif $m > w$ \\ <br />O(n\log m + m\log m) & \textif $\sqrtw < m ≤ w$ \\ <br />O(\min(n+ m^2, n\log m + m\log m)) & \textif $m ≤ \sqrtw$. \endcases \endequation* This improves the best known time bound among algorithms using $O(m)$ space. Whenever $w ≥ \log^2 n$ it improves all known time bounds regardless of how much space is used.


X BibTeX record

X RIS record


Privacy Statement | Terms & Conditions
CiteULike organises scholarly (or academic) papers or literature and provides bibliographic (which means it makes bibliographies) for universities and higher education establishments. It helps undergraduates and postgraduates. People studying for PhDs or in postdoctoral (postdoc) positions. The service is similar in scope to EndNote or RefWorks or any other reference manager like BibTeX, but it is a social bookmarking service for scientists and humanities researchers.