Smaller Representation of Compiled Regular Expressions

  • Sung, Sicheol
  • Ko, Sang-Ki
  • Han, Yo-Sub
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

We consider the problem of running the regex pattern matching in a space-efficient manner. Given a regex, we suggest a bit-packing scheme for representing a compiled regex in a compressed way, which is its position automaton. Our scheme reduces its representation size further by relying on the homogeneous property of position automata and practical features of regexes. We implement the proposed scheme and evaluate the memory consumption using a practical regex benchmark dataset. Our approach produces a much smaller representation compared to two common FA representations. In addition, experimental results show that our bit-packing regex engine is effective for matching regexes that have large compiled forms, by showing less memory consumption compared to the current state-of-the-art regex engine (RE2).

키워드

Regex enginePosition automataBit-packing schemeRegular expressionsAUTOMATA
제목
Smaller Representation of Compiled Regular Expressions
저자
Sung, SicheolKo, Sang-KiHan, Yo-Sub
DOI
10.1007/978-3-031-40247-0_22
발행일
2023
유형
Proceedings Paper
저널명
Lecture Notes in Computer Science
14151
페이지
290 ~ 301