~/talk

Static Analysis for Checking the Disambiguation Robustness of Regular Expressions

Talkat PLDI 2024 · 2024-06-24..06-28· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Defines robustness as agreement between POSIX vs greedy match extraction and proves the decision problem PSPACE-complete. Builds a greedy NFA model and reduces robustness checking to reachability in an exponential robustness graph explored on-the-fly; implements a base algorithm (≈1 hour for 10,000 regexes, ~3% timeouts) and an optimized analysis that runs the corpus in ~2.5 minutes and reduces failures to <0.04%, and finds ~4% non-robust real-world regexes.

AI-written summary · about

  1. 0:00Regex disambiguation robustness
  2. 2:28Disambiguation policies in engines
  3. 5:00Impact of non-robust regexes
  4. 6:24Greedy NFA model
  5. 11:30Robustness via exploration graph
  6. 14:45Robustness decision complexity
  7. 15:28Algorithm implementation
  8. 17:14Summary of contributions
  9. 18:21Q&A: Streaming and parsing
  10. 19:47Q&A: Grammar ambiguity link
  11. 20:52Q&A: Beyond classical regex
  12. 21:57Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.