Regular Expression Search on Compressed Text

Pierre Ganty, Pedro Valero
1/16/2019
cs.FL

Official code: pevalme/zearch (4 stars, HTML, GPL-3.0, last commit 2026-03-16).

Abstract

We present an algorithm for searching regular expression matches in compressed text. The algorithm reports the number of matching lines in the uncompressed text in time linear in the size of its compressed version. We define efficient data structures that yield nearly optimal complexity bounds and provide a sequential implementation --zearch-- that requires up to 25% less time than the state of the art.

View on arXivView PDF

Code Implementations(1)

pevalme/zearchOfficial100%
GPL-3.0

Zearch is a regular expression engine that takes in input a regular expression and a grammar-based compressed text and returns every line of the uncompressed text containing a match for the regular expression.

41HTML, ShellFeb 16, 20188 months agoGPL-3.0

Similar Papers

Cite this paper

@article{ganty2019regular,
  title  = {Regular Expression Search on Compressed Text},
  author = {Pierre Ganty and Pedro Valero},
  year   = {2019},
  eprint = {1901.05252},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.05252}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1901.05252.svg)](https://codeofpaper.com/paper/1901.05252)

Discussion