Matching Text from Start to Finish Against Multiple Regular Expressions

As part of this research the problem of matching one string with multiple regular expressions (regex) will be reviewed with the only limitation being that the regex should match the whole string from start to finish. This task is implemented in the web servers where multiple routes are defined as regexes. The server tries to detect which response is appropriate for the currently requested URL by looking for the regex that matches the URL and then getting the response related to this regex. This application motivated us to implement a more lightweight data structure and algorithm to solve this problem in a more efficient way. The current realization of the problem is done by going sequentially through all the regexes and testing them to match with the given URL. The algorithm presented in this research similarly to the Aho-Corasick algorithm is optimizing this process by using a modification of the structure tree (also known as prefix tree).

Authors

Institutions

Publication Details

Published
2024-11-21
DOI
https://doi.org/10.1109/telecom63374.2024.10812214
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Matching Text from Start to Finish Against Multiple Regular Expressions

Ivan Stankov, Alex I. Tsvetanov
Handwritten Text Recognition Techniques
article

Matching Text from Start to Finish Against Multiple Regular Expressions

Ivan Stankov, Alex I. Tsvetanov
article en

Abstract

As part of this research the problem of matching one string with multiple regular expressions (regex) will be reviewed with the only limitation being that the regex should match the whole string from start to finish. This task is implemented in the web servers where multiple routes are defined as regexes. The server tries to detect which response is appropriate for the currently requested URL by looking for the regex that matches the URL and then getting the response related to this regex. This application motivated us to implement a more lightweight data structure and algorithm to solve this problem in a more efficient way. The current realization of the problem is done by going sequentially through all the regexes and testing them to match with the given URL. The algorithm presented in this research similarly to the Aho-Corasick algorithm is optimizing this process by using a modification of the structure tree (also known as prefix tree).

Technical University of Sofia (BG)
Openalex Percentile: Top 76%
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.