{"id":"https://openalex.org/W7166808903","doi":"https://doi.org/10.4230/lipics.icalp.2026.135","title":"On the Complexity of the Matching Problem of Regular Expressions with Backreferences","display_name":"On the Complexity of the Matching Problem of Regular Expressions with Backreferences","alternate_titles":[],"publication_year":2026,"publication_date":"2026-01-01","ids":{"openalex":"https://openalex.org/W7166808903","doi":"https://doi.org/10.4230/lipics.icalp.2026.135","arxiv":"https://arxiv.org/abs/2605.07289"},"language":"en","primary_location":{"id":"pmh:oai:drops-oai.dagstuhl.de:26524","doi":null,"is_oa":true,"landing_page_url":"https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICALP.2026.135","pdf_url":"https://drops.dagstuhl.de/storage/00lipics/lipics-vol374-icalp2026/LIPIcs.ICALP.2026.135/LIPIcs.ICALP.2026.135.pdf","source":{"id":"https://openalex.org/S4377196569","display_name":"DROPS (Schloss Dagstuhl \u2013 Leibniz Center for Informatics)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I2799853480","host_organization_name":"Schloss Dagstuhl \u2013 Leibniz Center for Informatics","host_organization_lineage":["https://openalex.org/I2799853480"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":null,"raw_type":"InProceedings"},"parent_works":[{"id":"https://openalex.org/W7166884941","display_name":"LIPIcs, Volume 374, ICALP 2026, Complete Volume","relationship":"part","link_type":"part"}],"lineage":["https://openalex.org/W7166808903","https://openalex.org/W7166884941"],"child_works_count":0,"pull_notice_works":[],"type":"article","is_traditional":true,"indexed_in":["arxiv","datacite"],"open_access":{"is_oa":true,"oa_status":"green","oa_url":"https://drops.dagstuhl.de/storage/00lipics/lipics-vol374-icalp2026/LIPIcs.ICALP.2026.135/LIPIcs.ICALP.2026.135.pdf","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5015539916","display_name":"Soh Kumabe","type":null,"orcid":"https://orcid.org/0000-0002-1021-8922","observed_orcids":["https://orcid.org/0000-0002-1021-8922"]},"acted_on_behalf_of":[],"institutions":[{"id":"https://openalex.org/I4210089607","display_name":"CyberAgent (Japan)","ror":"https://ror.org/0060jg679","country_code":"JP","type":"company","lineage":["https://openalex.org/I4210089607"]}],"countries":["JP"],"is_corresponding":false,"contributor_roles":[],"raw_author_name":"Kumabe, Soh","raw_affiliation_strings":["CyberAgent, Inc., Tokyo, Japan"],"raw_orcid":"https://orcid.org/0000-0002-1021-8922","affiliations":[{"raw_affiliation_string":"CyberAgent, Inc., Tokyo, Japan","institution_ids":["https://openalex.org/I4210089607"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5015202877","display_name":"Yuya Uezato","type":null,"orcid":"https://orcid.org/0009-0005-8834-010X","observed_orcids":["https://orcid.org/0009-0005-8834-010X"]},"acted_on_behalf_of":[],"institutions":[{"id":"https://openalex.org/I184597095","display_name":"National Institute of Informatics","ror":"https://ror.org/04ksd4g47","country_code":"JP","type":"facility","lineage":["https://openalex.org/I1319490839","https://openalex.org/I184597095","https://openalex.org/I4210158934"]},{"id":"https://openalex.org/I4210089607","display_name":"CyberAgent (Japan)","ror":"https://ror.org/0060jg679","country_code":"JP","type":"company","lineage":["https://openalex.org/I4210089607"]}],"countries":["JP"],"is_corresponding":false,"contributor_roles":[],"raw_author_name":"Uezato, Yuya","raw_affiliation_strings":["CyberAgent, Inc., Tokyo, Japan","National Institute of Informatics, Tokyo, Japan"],"raw_orcid":"https://orcid.org/0009-0005-8834-010X","affiliations":[{"raw_affiliation_string":"CyberAgent, Inc., Tokyo, Japan","institution_ids":["https://openalex.org/I4210089607"]},{"raw_affiliation_string":"National Institute of Informatics, Tokyo, Japan","institution_ids":["https://openalex.org/I184597095"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":2,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":0.0,"has_fulltext":true,"cited_by_count":0,"reviewed_by_count":0,"citation_normalized_percentile":{"value":0.0,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":null,"biblio":{"volume":null,"issue":null,"first_page":null,"last_page":null},"is_retracted":false,"is_pulled":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T11269","display_name":"Algorithms and Data Compression","score":0.7221999764442444,"subfield":{"id":"https://openalex.org/subfields/2614","display_name":"Theoretical Computer Science"},"field":{"id":"https://openalex.org/fields/26","display_name":"Mathematics"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T11269","display_name":"Algorithms and Data Compression","score":0.7221999764442444,"subfield":{"id":"https://openalex.org/subfields/2614","display_name":"Theoretical Computer Science"},"field":{"id":"https://openalex.org/fields/26","display_name":"Mathematics"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11567","display_name":"semigroups and automata theory","score":0.20589999854564667,"subfield":{"id":"https://openalex.org/subfields/1703","display_name":"Computational Theory and Mathematics"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10374","display_name":"Advanced Graph Theory Research","score":0.03610000014305115,"subfield":{"id":"https://openalex.org/subfields/1703","display_name":"Computational Theory and Mathematics"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/string-matching","display_name":"string matching","score":0.7260000109672546},{"id":"https://openalex.org/keywords/fine-grained-complexity","display_name":"fine-grained complexity","score":0.9670000076293945},{"id":"https://openalex.org/keywords/w-2-hardness","display_name":"W[2]-hardness","score":0.9850000143051147},{"id":"https://openalex.org/keywords/parameterized-complexity","display_name":"parameterized complexity","score":0.7820000052452087},{"id":"https://openalex.org/keywords/triangle-detection","display_name":"triangle detection","score":0.777999997138977},{"id":"https://openalex.org/keywords/suffix-trees","display_name":"suffix trees","score":0.7310000061988831},{"id":"https://openalex.org/keywords/string-periodicity","display_name":"string periodicity","score":0.7260000109672546}],"concepts":[{"id":"https://openalex.org/C121329065","wikidata":"https://www.wikidata.org/wiki/Q185612","display_name":"Regular expression","level":2,"score":0.8694000244140625},{"id":"https://openalex.org/C165464430","wikidata":"https://www.wikidata.org/wiki/Q1570441","display_name":"Parameterized complexity","level":2,"score":0.5992000102996826},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.5648999810218811},{"id":"https://openalex.org/C311688","wikidata":"https://www.wikidata.org/wiki/Q2393193","display_name":"Time complexity","level":2,"score":0.5196999907493591},{"id":"https://openalex.org/C80444323","wikidata":"https://www.wikidata.org/wiki/Q2878974","display_name":"Theoretical computer science","level":1,"score":0.5038999915122986},{"id":"https://openalex.org/C165064840","wikidata":"https://www.wikidata.org/wiki/Q1321061","display_name":"Matching (statistics)","level":2,"score":0.5031999945640564},{"id":"https://openalex.org/C52370388","wikidata":"https://www.wikidata.org/wiki/Q752532","display_name":"Regular language","level":3,"score":0.5013999938964844},{"id":"https://openalex.org/C157486923","wikidata":"https://www.wikidata.org/wiki/Q1376436","display_name":"String (physics)","level":2,"score":0.4740000069141388},{"id":"https://openalex.org/C182407805","wikidata":"https://www.wikidata.org/wiki/Q2626534","display_name":"Substring","level":3,"score":0.45739999413490295},{"id":"https://openalex.org/C179799912","wikidata":"https://www.wikidata.org/wiki/Q205084","display_name":"Computational complexity theory","level":2,"score":0.44940000772476196},{"id":"https://openalex.org/C71017364","wikidata":"https://www.wikidata.org/wiki/Q5421532","display_name":"Exponential time hypothesis","level":3,"score":0.4090999960899353},{"id":"https://openalex.org/C11413529","wikidata":"https://www.wikidata.org/wiki/Q8366","display_name":"Algorithm","level":1,"score":0.3937000036239624},{"id":"https://openalex.org/C2776401178","wikidata":"https://www.wikidata.org/wiki/Q12050496","display_name":"Feature (linguistics)","level":2,"score":0.38690000772476196},{"id":"https://openalex.org/C68859911","wikidata":"https://www.wikidata.org/wiki/Q1503724","display_name":"Pattern matching","level":2,"score":0.36660000681877136},{"id":"https://openalex.org/C90559484","wikidata":"https://www.wikidata.org/wiki/Q778379","display_name":"Expression (computer science)","level":2,"score":0.359499990940094},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.350600004196167},{"id":"https://openalex.org/C118615104","wikidata":"https://www.wikidata.org/wiki/Q121416","display_name":"Discrete mathematics","level":1,"score":0.329800009727478},{"id":"https://openalex.org/C77553402","wikidata":"https://www.wikidata.org/wiki/Q13222579","display_name":"Upper and lower bounds","level":2,"score":0.2962000072002411},{"id":"https://openalex.org/C2780451532","wikidata":"https://www.wikidata.org/wiki/Q759676","display_name":"Task (project management)","level":2,"score":0.295199990272522},{"id":"https://openalex.org/C146072743","wikidata":"https://www.wikidata.org/wiki/Q192161","display_name":"Formal language","level":2,"score":0.2928999960422516},{"id":"https://openalex.org/C158008952","wikidata":"https://www.wikidata.org/wiki/Q617295","display_name":"Nondeterministic finite automaton","level":4,"score":0.28780001401901245},{"id":"https://openalex.org/C39637292","wikidata":"https://www.wikidata.org/wiki/Q908207","display_name":"Complexity class","level":3,"score":0.28610000014305115},{"id":"https://openalex.org/C99138194","wikidata":"https://www.wikidata.org/wiki/Q183427","display_name":"Hash function","level":2,"score":0.28529998660087585},{"id":"https://openalex.org/C115988155","wikidata":"https://www.wikidata.org/wiki/Q3262192","display_name":"Decision problem","level":2,"score":0.2822999954223633},{"id":"https://openalex.org/C167822520","wikidata":"https://www.wikidata.org/wiki/Q176452","display_name":"Finite-state machine","level":2,"score":0.2809999883174896},{"id":"https://openalex.org/C7757238","wikidata":"https://www.wikidata.org/wiki/Q374040","display_name":"String searching algorithm","level":3,"score":0.27810001373291016},{"id":"https://openalex.org/C72545166","wikidata":"https://www.wikidata.org/wiki/Q10866593","display_name":"3-dimensional matching","level":4,"score":0.26600000262260437},{"id":"https://openalex.org/C127964446","wikidata":"https://www.wikidata.org/wiki/Q1092142","display_name":"Computational resource","level":3,"score":0.257999986410141},{"id":"https://openalex.org/C7342684","wikidata":"https://www.wikidata.org/wiki/Q520777","display_name":"Boolean data type","level":2,"score":0.2538999915122986}],"mesh":[],"locations_count":3,"locations":[{"id":"pmh:oai:drops-oai.dagstuhl.de:26524","doi":null,"is_oa":true,"landing_page_url":"https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICALP.2026.135","pdf_url":"https://drops.dagstuhl.de/storage/00lipics/lipics-vol374-icalp2026/LIPIcs.ICALP.2026.135/LIPIcs.ICALP.2026.135.pdf","source":{"id":"https://openalex.org/S4377196569","display_name":"DROPS (Schloss Dagstuhl \u2013 Leibniz Center for Informatics)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I2799853480","host_organization_name":"Schloss Dagstuhl \u2013 Leibniz Center for Informatics","host_organization_lineage":["https://openalex.org/I2799853480"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":null,"raw_type":"InProceedings"},{"id":"pmh:oai:arXiv.org:2605.07289","doi":"https://doi.org/10.48550/arxiv.2605.07289","is_oa":true,"landing_page_url":"https://arxiv.org/abs/2605.07289","pdf_url":"https://arxiv.org/pdf/2605.07289","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I4402554005","host_organization_name":"arXiv","host_organization_lineage":["https://openalex.org/I4402554005"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"doi:10.4230/lipics.icalp.2026.135","doi":"https://doi.org/10.4230/lipics.icalp.2026.135","is_oa":true,"landing_page_url":"https://doi.org/10.4230/lipics.icalp.2026.135","pdf_url":null,"source":{"id":"https://openalex.org/S4393917817","display_name":"Leibniz international proceedings in informatics","issn_l":"1868-8969","issn":["1868-8969"],"is_oa":true,"is_in_doaj":true,"is_core":false,"listed_in":["doaj","jufo-1","norway-1"],"host_organization":null,"host_organization_name":null,"host_organization_lineage":[],"host_organization_lineage_names":[],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"ConferencePaper"}],"best_oa_location":{"id":"pmh:oai:drops-oai.dagstuhl.de:26524","doi":null,"is_oa":true,"landing_page_url":"https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICALP.2026.135","pdf_url":"https://drops.dagstuhl.de/storage/00lipics/lipics-vol374-icalp2026/LIPIcs.ICALP.2026.135/LIPIcs.ICALP.2026.135.pdf","source":{"id":"https://openalex.org/S4377196569","display_name":"DROPS (Schloss Dagstuhl \u2013 Leibniz Center for Informatics)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I2799853480","host_organization_name":"Schloss Dagstuhl \u2013 Leibniz Center for Informatics","host_organization_lineage":["https://openalex.org/I2799853480"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":null,"raw_type":"InProceedings"},"sustainable_development_goals":[],"study_designs":[],"awards":[{"id":"https://openalex.org/G2927149048","display_name":null,"funder_award_id":"JPMJCR21M3","funder_id":"https://openalex.org/F4320338075","funder_display_name":"Core Research for Evolutional Science and Technology"}],"funders":[{"id":"https://openalex.org/F4320338075","display_name":"Core Research for Evolutional Science and Technology","ror":"https://ror.org/00097mb19"}],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W7166808903.pdf","grobid_xml":"https://content.openalex.org/works/W7166808903.grobid-xml"},"referenced_works_count":77,"referenced_works":["https://openalex.org/W54538614","https://openalex.org/W118877492","https://openalex.org/W122974882","https://openalex.org/W134255016","https://openalex.org/W137071685","https://openalex.org/W304345187","https://openalex.org/W797346804","https://openalex.org/W938539187","https://openalex.org/W1491178396","https://openalex.org/W1494101434","https://openalex.org/W1502428252","https://openalex.org/W1504417041","https://openalex.org/W1505882215","https://openalex.org/W1563402047","https://openalex.org/W1564013439","https://openalex.org/W1578211883","https://openalex.org/W1584451387","https://openalex.org/W1601888115","https://openalex.org/W1663644375","https://openalex.org/W1964874178","https://openalex.org/W1965415591","https://openalex.org/W1971842919","https://openalex.org/W1986079495","https://openalex.org/W1991376038","https://openalex.org/W2007197043","https://openalex.org/W2020069503","https://openalex.org/W2022841964","https://openalex.org/W2028258439","https://openalex.org/W2028685566","https://openalex.org/W2033376980","https://openalex.org/W2035166717","https://openalex.org/W2035314514","https://openalex.org/W2039800792","https://openalex.org/W2041189577","https://openalex.org/W2049955619","https://openalex.org/W2067656180","https://openalex.org/W2067787802","https://openalex.org/W2072607050","https://openalex.org/W2084732238","https://openalex.org/W2098207812","https://openalex.org/W2100850484","https://openalex.org/W2140232587","https://openalex.org/W2146507303","https://openalex.org/W2161510308","https://openalex.org/W2244603524","https://openalex.org/W2263932537","https://openalex.org/W2545919726","https://openalex.org/W2556338468","https://openalex.org/W2586996921","https://openalex.org/W2605018377","https://openalex.org/W2759658795","https://openalex.org/W2901045411","https://openalex.org/W2914414140","https://openalex.org/W2949942995","https://openalex.org/W2950547567","https://openalex.org/W2957510905","https://openalex.org/W2972926935","https://openalex.org/W2996645849","https://openalex.org/W3003450480","https://openalex.org/W3080246877","https://openalex.org/W3156862845","https://openalex.org/W3158908103","https://openalex.org/W3179960022","https://openalex.org/W4213071546","https://openalex.org/W4241108585","https://openalex.org/W4256418102","https://openalex.org/W4308358086","https://openalex.org/W4390604686","https://openalex.org/W4393955105","https://openalex.org/W4396243986","https://openalex.org/W4399851420","https://openalex.org/W4406257922","https://openalex.org/W4412213125","https://openalex.org/W6926228587","https://openalex.org/W7090891710","https://openalex.org/W7110217308","https://openalex.org/W7118808769"],"related_works":["https://openalex.org/W4413205099","https://openalex.org/W4285275532","https://openalex.org/W7110217308","https://openalex.org/W7213426417","https://openalex.org/W7131675992","https://openalex.org/W7052126637","https://openalex.org/W2957510905","https://openalex.org/W7090891710","https://openalex.org/W2783641411","https://openalex.org/W4393955105"],"abstract_inverted_index":{"ReDoS":[0,115],"is":[1,170],"a":[2,17,56,89],"well-known":[3],"type":[4],"of":[5,27,77,107,114,123,177,249,257],"algorithmic":[6,213],"complexity":[7,122],"attack,":[8],"where":[9],"an":[10,217],"adversary":[11],"supplies":[12],"maliciously":[13],"crafted":[14],"strings":[15],"to":[16,23,62],"regular":[18,83,129],"expression":[19],"matching":[20,33,64,126,148],"engine,":[21],"aiming":[22],"exhaust":[24],"computational":[25],"resources":[26],"systems.":[28],"Even":[29],"quadratic-time":[30],"behavior":[31],"in":[32,38,71,74,155,197,208],"engines":[34,65,94],"has":[35],"been":[36],"exploited":[37],"successful":[39],"attacks,":[40],"as":[41,99],"exemplified":[42],"by":[43,174,233],"major":[44],"outages":[45],"at":[46],"Stack":[47],"Overflow":[48],"(2016)":[49],"and":[50,235,255],"Cloudflare":[51],"(2019).":[52],"These":[53],"incidents":[54],"motivate":[55],"fundamental":[57],"question:":[58],"Is":[59],"it":[60],"possible":[61],"construct":[63],"that":[66,145,167,188,209],"are":[67],"provably":[68],"efficient,":[69],"running":[70],"(near-)linear":[72],"time":[73,157,199],"the":[75,78,104,112,120,124,140,146,175,178,182,201,212,229],"length":[76,176],"input":[79],"string?":[80],"For":[81],"classical":[82],"expressions":[84,130],"(REGEX),":[85],"Thompson's":[86],"construction":[87],"yields":[88],"linear-time":[90],"algorithm.":[91],"However,":[92],"practical":[93],"support":[95],"powerful":[96],"features":[97],"such":[98],"backreferences,":[100],"which":[101,225],"strictly":[102],"extend":[103],"expressive":[105],"power":[106],"REGEX":[108],"but":[109],"unfortunately":[110],"increase":[111],"risk":[113],"attacks.":[116],"This":[117],"paper":[118],"investigates":[119],"fine-grained":[121],"string":[125,147],"problem":[127,149,169,190,204],"for":[128,150,158,191,222],"with":[131],"backreferences":[132],"(REWBs).":[133],"Specifically,":[134],"we":[135,143,186,215],"consider":[136],"$r$-use":[137],"$k$-REWBs.":[138],"On":[139,211],"hardness":[141],"side,":[142,214],"show":[144],"$k$-REWBs":[151],"cannot":[152,194],"be":[153,195,206],"solved":[154,196,207],"$O(n^{2k-\u03b5})$":[156],"any":[159],"$\u03b5>":[160],"0$":[161],"under":[162],"SETH.":[163],"We":[164],"also":[165],"prove":[166,187],"this":[168,189],"\\textbf{W[2]}-hard":[171],"when":[172],"parameterized":[173],"REWB":[179],"expression,":[180],"strengthening":[181],"previous":[183],"\\textbf{W[1]}-hardness.":[184],"Moreover,":[185],"$2$-use":[192],"$2$-REWBs":[193],"$n^{1+o(1)}$":[198],"unless":[200],"triangle":[202],"detection":[203],"can":[205],"time.":[210],"present":[216],"$O(n":[218],"\\log^2":[219],"n)$-time":[220],"algorithm":[221,232,240],"$1$-use":[223],"REWBs,":[224],"significantly":[226],"improves":[227],"upon":[228],"recent":[230],"$O(n^2)$-time":[231],"Nogami":[234],"Terauchi":[236],"(MFCS,":[237],"2025).":[238],"Our":[239],"employs":[241],"several":[242],"techniques":[243],"including":[244],"suffix":[245],"trees,":[246],"transition":[247],"monoids":[248],"REGEXes,":[250],"factorization":[251],"forest":[252],"data":[253],"structures,":[254],"periodicity":[256],"strings.":[258]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W7166808903","counts_by_year":[],"updated_date":"2026-11-25T09:40:18.809321","created_date":"2026-07-02T00:00:00"}
