[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-701039-105":59,"doc-detail-701039-en":130,"doc-similar-701039":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","rematch-a-novel-regex-engine-for-finding-all-matches","REmatch - a novel regex engine for finding all matches","","REmatch presents an information extraction system built on a recently proposed enumeration algorithm for evaluating regular expressions with capture variables under all-match semantics. The paper explains why a naive implementation struggles with realistic workloads, then introduces a new algorithm and a set of optimizations. The result achieves performance comparable to or better than many popular RegEx engines while returning all required outputs, a capability that most engines find difficult.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/rematch-a-novel-regex-engine-for-finding-all-matches/701039/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/rematch-a-novel-regex-engine-for-finding-all-matches/701039.png","ImageObject",300,407,{"name":92,"@type":93},"Eliana","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does REmatch aim to achieve?","Question",{"text":112,"@type":113},"REmatch aims to evaluate regular expressions under all-match semantics and support information extraction by returning all match outputs, including cases with overlapping spans.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why can naive implementations be inefficient?",{"text":117,"@type":113},"The paper explains that a naive implementation of the original enumeration approach would have difficulty handling realistic workloads, motivating a more efficient algorithm and optimizations.",{"name":119,"@type":110,"acceptedAnswer":120},"How does REmatch relate to standard RegEx engine behavior?",{"text":121,"@type":113},"Most RegEx engines follow the leftmost-longest paradigm and may omit valid matches; REmatch targets all-match semantics, which is not natively supported by typical engines.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},701039,1794522985,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},4398048949847,"https://ap-avatar.wpscdn.com/avatar/400002536579ef2da7f?_k=1778318612642679267","REmatch: a novel regex engine for finding all matches  \nCristian Riveros  \nPUC Chile & IMFD Chile [cristian.riveros@uc.cl](cristian.riveros@uc.cl)  \nNicolás Van Sint Jan  \nPUC Chile & IMFD Chile [nicovsj@uc.cl](nicovsj@uc.cl)  \nDomagoj Vrgoč  \nPUC Chile & IMFD Chile [vrdomagoj@uc.cl](vrdomagoj@uc.cl)  \nABSTRACT  \nIn this paper, we present the REmatch system for information extraction. REmatch is based on a recently proposed enumeration algorithm for evaluating regular expressions with capture variables supporting the all-match semantics. It tells a story of what it takes to make a theoretically optimal algorithm work in practice. As we show here, a naive implementation of the original algorithm would have a hard time dealing with realistic workloads. We thus develop a new algorithm and a series of optimizations that make REmatch as fast or faster than many popular RegEx engines while at the same time being able to return all the outputs: a task that most other engines tend to struggle with.  \nPVLDB Reference Format:  \nCristian Riveros, Nicolás Van Sint Jan, and Domagoj Vrgoč . REmatch: a novel regex engine for finding all matches. PVLDB, 16(11): 2792-2804, 2023.  \ndoi:10.14778/3611479.3611488  \nPVLDB Artifact Availability:  \nThe source code, data, and/or other artifacts have been made available at [https://github.com/REmatchChile/REmatch-paper](https://github.com/REmatchChile/REmatch-paper).  \n1 INTRODUCTION  \nRegular expressions, or RegEx, are one of the most used technologies for managing text data. The development of RegEx engines started in the early 70s [26, 44], and they are now a common part of many complex information systems such as compilers, databases, or search engines. Moreover, modern RegEx engines are highlyoptimized systems that are crucial for finding patterns in diverse areas like biology [33], literature [14], or medicine [17] .  \nGiven a regular expression and a document, the task of a RegEx engine is to find all occurrences, or matches, of the pattern in the document. For this, RegEx engines deploy the so-called leftmostlongest paradigm [25], meaning that they find the match which is the leftmost one, and from there they find the longest possible match. The process is then repeated starting from the rightmost position of the previous match. For example, if we want to evaluate the RegEx aa over the document 􀀰0 􀀰 1 􀀰2 􀀰3 (here the subindices are for referencing positions; the document consists of the letter 􀀰 repeated four times), a typical RegEx engine will output the matches 􀀰0 􀀰 1 and 􀀰2 􀀰3 . In particular, RegEx engines will not output 􀀰 1 􀀰2 since the first leftmost-longest match ends with 􀀰 1 .  \nThis work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit [https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of](https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of)[ ](https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of)[this license. For any use beyond those covered by this license](this license. For any use beyond those covered by this license), [obtain permission by](obtain permission by)[emailing info@vldb.org. Copyright](emailing info@vldb.org. Copyright) is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.  \nProceedings of the VLDB Endowment, Vol. 16, No. 11 ISSN 2150-8097 . doi:10.14778/3611479.3611488  \nThe leftmost-longest semantics is standard for RegEx engines, as it captures the majority of meaningful matches, although not all of them. However, in some scenarios adopting an “all-match semantics”is a valuable and desirable feature for the users. For instance, in DNA analysis we will often need to match patterns (called motifs) onto a DNA sequence, and these can overlap. The question of finding overlapping matches with RegEx is also recurrent in user discussions [21, 22, 42] . For information extraction, the all-match semantics leaves freedom to the user to extract all positions, called s","cbCaipDK8G0o0tKz","https://ap.wps.com/l/cbCaipDK8G0o0tKz","pdf",811044,13,"English","# Abstract\n# 1 Introduction\n## Regular expressions and match semantics\n## Motivation for all-match semantics\n## Limitations of look-around operators\n## Implementation strategies for RegEx engines","[{\"question\":\"What does REmatch aim to achieve?\",\"answer\":\"REmatch aims to evaluate regular expressions under all-match semantics and support information extraction by returning all match outputs, including cases with overlapping spans.\"},{\"question\":\"Why can naive implementations be inefficient?\",\"answer\":\"The paper explains that a naive implementation of the original enumeration approach would have difficulty handling realistic workloads, motivating a more efficient algorithm and optimizations.\"},{\"question\":\"How does REmatch relate to standard RegEx engine behavior?\",\"answer\":\"Most RegEx engines follow the leftmost-longest paradigm and may omit valid matches; REmatch targets all-match semantics, which is not natively supported by typical engines.\"}]","REmatch - a novel regex engine for finding all matches | PDF",33,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f24efa0c7f8de78b3f05755e6f92d5b5.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/463ab257ada94a52126201a4eca2f752.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/3d99a29e6a3586ce69610c1da212fb69.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7db8f3375686642ee86200db3ce7fc70.webp",980,1268,{"list":163,"token":66},[164,171,177,183,190,196,202,209,216,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},122956,"Performance evaluation of machine learning algorithms for meat freshness assessment - compare AI methods - KNN SVM Naïve Bayes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836961918/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=28nNK0xQXNmsZZyx2TIJCWeQwO0%3D","performance-evaluation-of-machine-learning-algorithms-for-meat-freshness-assessment-compare-ai-methods-knn-svm-naive-bayes",31,1785813884,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":19,"category_name":40,"create_tm":176},685959,"Benchmarking Stream Join Algorithms on GPUs - A Framework and Its Application to the State of the Art","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000302284/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=zPgGjuS%2F%2FIWXUQxaI%2BUZy5WUc9k%3D","benchmarking-stream-join-algorithms-on-gpus-a-framework-and-its-application-to-the-state-of-the-art",1794023890,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":169,"category_name":40,"create_tm":182},122098,"Comparison Of Machine Learning Algorithms In Public Sentiment Analysis Of TAPERA Policy","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836731223/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=xzLnXgcV1PbuIJ%2FGwEDE2FMuMD0%3D","comparison-of-machine-learning-algorithms-in-public-sentiment-analysis-of-tapera-policy",1785808805,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},124883,"A Performance Comparison of Three Machine Learning Algorithms for Urban Land Cover Classification using High Resolution Imagery - read online","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838382124/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=VSoJFg8TqbGa7%2BedeJWJ0gAmITI%3D","a-performance-comparison-of-three-machine-learning-algorithms-for-urban-land-cover-classification-using-high-resolution-imagery-read-online",12,1785895203,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":41,"category_name":40,"create_tm":195},85472,"CUDA-L2: Surpassing cuBLAS Performance for Matrix Multiplication through Reinforcement Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809270983/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=4sZqQC4HR40KPmMgoqMbrE%2FGqY0%3D","cuda-l2-surpassing-cublas-performance-for-matrix-multiplication-through-reinforcement-learning",1784203845,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":14,"category_name":40,"create_tm":201},687616,"Shortcut-Controlled Evaluation for AI-Generated Text Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262896/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=IngjU72Ud6BHX0wyjSDIglBpUpc%3D","shortcut-controlled-evaluation-for-ai-generated-text-detection",1794084302,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":207,"category_name":40,"create_tm":208},202960,"Carbon-Aware Scheduling for Cyber-Physical Systems in the Edge-Cloud Continuum","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882907921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=b9B1G7IMNG4dOLnz9%2F6T%2BIkLYok%3D","carbon-aware-scheduling-for-cyber-physical-systems-in-the-edge-cloud-continuum",16,1788552744,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":40,"create_tm":215},119207,"Sentinel-2 Satellite Image Processing Using Machine Learning Algorithms of the Manombo Nature Reserve","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835017576/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=dEHxB%2B3t64y%2FAYZEAXo9onO362c%3D","sentinel-2-satellite-image-processing-using-machine-learning-algorithms-of-the-manombo-nature-reserve",11,1785723101,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":46,"category_name":40,"create_tm":221},128363,"Adaptive Machine Learning for Dynamic Environments: Evaluating Data Drift-Triggered Retraining in COVID-19 Severity Prediction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839617362/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=idlIT7OoPcE93aqyUpB2uGICJzQ%3D","adaptive-machine-learning-for-dynamic-environments-evaluating-data-drift-triggered-retraining-in-covid-19-severity-prediction",1785947086,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":29,"category_name":40,"create_tm":227},450761,"Resource efficient hybrid baseline for named entity recognition in classical Arabic","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924871105/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796146559&Signature=Ue4mvFnbD1nmpLyISS6OOyNaJB0%3D","resource-efficient-hybrid-baseline-for-named-entity-recognition-in-classical-arabic",1790733823]