TransRegex: Multi-modal Regular Expression Synthesis by Generate-and-Repair
Not on the map. Why?
Abstract (arXiv)
Since regular expressions (abbrev. regexes) are difficult to understand and compose, automatically generating regexes has been an important research problem. This paper introduces TransRegex, for automatically constructing regexes from both natural language descriptions and examples. To the best of our knowledge, TransRegex is the first to treat the NLP-and-example-based regex synthesis problem as the problem of NLP-based synthesis with regex repair. For this purpose, we present novel algorithms for both NLP-based synthesis and regex repair. We evaluate TransRegex with ten relevant state-of-the-art tools on three publicly available datasets. The evaluation results demonstrate that the accuracy of our TransRegex is 17.4%, 35.8% and 38.9% higher than that of NLP-based approaches on the three datasets, respectively. Furthermore, TransRegex can achieve higher accuracy than the state-of-the-art multi-modal techniques with 10% to 30% higher accuracy on all three datasets. The evaluation results also indicate TransRegex utilizing natural language and examples in a more effective way.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 31 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 3; 2024: 0; 2025: 0; 2026: 1.
8 papers.
- 2021Multi-modal Program Inference: a Marriage of Pre-trainedLanguage Models and Component-based Synthesiscited by 12
- 2023Search-Based Regular Expression Inference on a GPUcited by 6
- 2021Lyra: A Benchmark for Turducken-Style Code Generationcited by 5
- 2023InfeRE: Step-by-Step Regex Generation via Chain of Inferencecited by 5
- 2022Neuro-Symbolic Regex Synthesis Framework via Neural Example Splittingcited by 0
- 2022A Noise-tolerant Differentiable Learning Approach for Single Occurrence Regular Expression with Interleavingcited by 0
- 2023Correct and Optimal: the Regular Expression Inference Challengecited by 0
- 2026RuleChef: Grounding LLM Task Knowledge in Human-Editable Rulescited by 0
- 2026RuleChef: Grounding LLM Task Knowledge in Human-Editable Rules1 Jul 2026
- 2023Correct and Optimal: the Regular Expression Inference Challenge15 Aug 2023
- 2023InfeRE: Step-by-Step Regex Generation via Chain of Inference8 Aug 2023
- 2023Search-Based Regular Expression Inference on a GPU29 May 2023
- 2022A Noise-tolerant Differentiable Learning Approach for Single Occurrence Regular Expression with Interleaving1 Dec 2022
- 2022Neuro-Symbolic Regex Synthesis Framework via Neural Example Splitting20 May 2022
- 2021Multi-modal Program Inference: a Marriage of Pre-trainedLanguage Models and Component-based Synthesis3 Sep 2021
- 2021Lyra: A Benchmark for Turducken-Style Code Generation27 Aug 2021