{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,31]],"date-time":"2026-03-31T19:51:23Z","timestamp":1774986683508,"version":"3.50.1"},"reference-count":59,"publisher":"Association for Computing Machinery (ACM)","issue":"3","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2025,6,17]]},"abstract":"<jats:p>Regular expressions (RegEx) are an essential tool for pattern matching over streaming data, e.g., in network and security applications. The evaluation of RegEx queries becomes challenging, though, once subsequences are incorporated, i.e., characters in a sequence may be skipped during matching. Since the number of subsequence matches may grow exponentially in the input length, existing RegEx engines fall short in finding all subsequence matches, especially for queries including Kleene closure.<\/jats:p>\n                  <jats:p>In this paper, we argue that common applications for RegEx queries over streams do not require the enumeration of all distinct matches at any point in time. Rather, only an aggregate over the matches is typically fetched at specific, yet unknown time points. To cater for these scenarios, we present SuSe, a novel architecture for RegEx evaluation that is based on a query-specific summary of the stream. It employs a novel data structure, coined StateSummary, to capture aggregated information about subsequence matches. This structure is maintained by a summary selector, which aims at choosing the stream projections that minimize the loss in the aggregation result over time. Experiments on real-world and synthetic data demonstrate that SuSe is both effective and efficient, with the aggregates being based on several orders of magnitude more matches compared to baseline techniques.<\/jats:p>","DOI":"10.1145\/3725359","type":"journal-article","created":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T21:22:29Z","timestamp":1750281749000},"page":"1-27","source":"Crossref","is-referenced-by-count":1,"title":["SuSe: Summary Selection for Regular Expression Subsequence Aggregation over Streams"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5658-4429","authenticated-orcid":false,"given":"Steven","family":"Purtzel","sequence":"first","affiliation":[{"name":"Humboldt-Universit\u00e4t zu Berlin, Berlin, Germany"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3325-7227","authenticated-orcid":false,"given":"Matthias","family":"Weidlich","sequence":"additional","affiliation":[{"name":"Humboldt-Universit\u00e4t zu Berlin, Berlin, Germany"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2025,6,18]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"2021. TRE -- a Lightweight Robust and Efficient POSIX Compliant Regexp Matching Library. https:\/\/github.com\/ laurikari\/tre Accessed on 2023--10--15."},{"key":"e_1_2_2_2_1","unstructured":"Oniguruma -- a modern and flexible regular expressions library. 2022. https:\/\/github.com\/kkos\/oniguruma Accessed on 2023--10--15."},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376634"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.5555\/114872.114877"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3526136"},{"key":"e_1_2_2_6_1","unstructured":"Anonymized Author(s). 2024. SuSe: Summary Selection for Regular Expression Subsequence Aggregation over Streams. https:\/\/anonymous.4open.science\/r\/SuSe-8F12\/."},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093742.3095106"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2016.56"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(91)90358-9"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.14778\/3538598"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.14778\/3494124.3494137"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/surv.2011.072210"},{"key":"e_1_2_2_13_1","unstructured":"citi Bike. 2022. http:\/\/www.citibikenyc.com\/system-data."},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3516431.3516433"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2003.12.001"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ISAAC.2022.64"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2008.08.035"},{"key":"e_1_2_2_18_1","unstructured":"PCRE2 -- Perl-Compatible Regular Expressions. 2022. https:\/\/github.com\/PCRE2Project\/pcre2 Accessed on 2023--10--15."},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.46298\/dmtcs.3545"},{"key":"e_1_2_2_20_1","doi-asserted-by":"crossref","unstructured":"Apache Software Foundation. 2021. Apache Flink. https:\/\/nightlies.apache.org\/flink\/flink-docs-release-1.14\/ Accessed on 2023--10--15.","DOI":"10.1007\/978-3-319-63962-8_303-2"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/J.JCSS.2019.04.001"},{"key":"e_1_2_2_22_1","unstructured":"Jeffrey E. F. Friedl. 2006. Mastering regular expressions - understand your data and be more productive: for Perl PHP Java .NET Ruby and more (3. ed.). O'Reilly. http:\/\/www.oreilly.de\/catalog\/regex3\/index.html"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1137\/100814196"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2071368.2071372"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-019-00557-w"},{"key":"e_1_2_2_26_1","unstructured":"Ronald I. Greenberg. 2003. Computing the Number of Longest Common Subsequences. arXiv:arXiv:cs\/0301034"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/376284.375670"},{"key":"e_1_2_2_28_1","unstructured":"PCREgrep -- A grep program that uses the PCRE regular expression library. 2014. https:\/\/github.com\/vmg\/pcre\/blob\/ master\/pcregrep.c\/ Accessed on 2023--10--15."},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/J.JCSS.2017.05.013"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/568438.568455"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1109\/icde.2007.369001"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1109\/focs.2016.17"},{"key":"e_1_2_2_33_1","unstructured":"Stephen C. Kleene. 1951. Representation of events in nerve nets and finite automata. Technical Report. RAND Corporation Santa Monica CA."},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ICDT.2022.18"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.18420\/BTW2023--24"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS52979.2021.00090"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/1323548.1323574"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1159913.1159952"},{"key":"e_1_2_2_39_1","unstructured":"Boost Regex Library. 2022. https:\/\/github.com\/boostorg\/regex Accessed on 2023--10--15."},{"key":"e_1_2_2_40_1","unstructured":"NASDAQ Data Link. 2023. https:\/\/data.nasdaq.com\/ Accessed: 2023--10--15."},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/tnet.2019.2941920"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/978--3--642--31284--7_22"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3526145"},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/322063.322075"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2633686"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3452785"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.14778\/3151113.3151120"},{"key":"e_1_2_2_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3319862"},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1007\/11780441_15"},{"key":"e_1_2_2_50_1","unstructured":"RE2 regular expression library. 2022. https:\/\/github.com\/google\/re2 Accessed on 2023--10--15."},{"key":"e_1_2_2_51_1","doi-asserted-by":"publisher","DOI":"10.14778\/3611479.3611488"},{"key":"e_1_2_2_52_1","volume-title":"Proceedings of the 29th ACM International Conference on Information & Knowledge Management. ACM. doi:10","author":"Rozet Allison","unstructured":"Allison Rozet, Olga Poppe, Chuan Lei, and Elke A. Rundensteiner. 2020. Muse: Multi-query Event Trend Aggregation. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management. ACM. doi:10. 1145\/3340531.3412138"},{"key":"e_1_2_2_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3401025.3401742"},{"key":"e_1_2_2_54_1","volume-title":"No Please","author":"Snyder Peter","unstructured":"Peter Snyder and Chris Kanich. 2015. No Please, After You: Detecting Fraud in Affiliate Marketing Networks.. In WEIS."},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/363347.363387"},{"key":"e_1_2_2_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3410403"},{"key":"e_1_2_2_57_1","doi-asserted-by":"publisher","DOI":"10.2139\/ssrn.2353834"},{"key":"e_1_2_2_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2593671"},{"key":"e_1_2_2_59_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE48307.2020.00099"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3725359","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,31]],"date-time":"2026-03-31T19:00:52Z","timestamp":1774983652000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3725359"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,17]]},"references-count":59,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2025,6,17]]}},"alternative-id":["10.1145\/3725359"],"URL":"https:\/\/doi.org\/10.1145\/3725359","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,17]]}}}