Slide 48
Slide 48 text
Make Regexp#match much faster - Hiroya Fujinami (@makenowjust) 2023/5/11 RubyKaigi 2023 at Matsumoto, Japan
References
‣ Davis, James C., Francisco Servant, and Dongyoon Lee. "Using selective
memoization to defeat regular expression denial of service (ReDoS)." 2021 IEEE
symposium on security and privacy (SP). IEEE, 2021.
‣ Dan Moseley, Mario Nishio, Jose Perez Rodriguez, Olli Saarikivi, Stephen
Toub, Margus Veanes, Tiki Wan, Eric Xu. "Derivative Based Nonbacktracking
Real-World Regex Matching with Backtracking Semantics" Proceeding of ACM
SIGPLAN 2023 conference on Programming Language Design and
Implementation. 2023.
‣ Benoit Daloze, and Josef Haider. "Just-in-Time Compiling Ruby Regexps on
Truf
fl
eRuby" RubyKaigi 2021. 2021.