Regex Result Access Benchmark
I benchmarked String#[/REGEX/, 1] vs String#match(/REGEX/)[0]
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I benchmarked String#[/REGEX/, 1] vs String#match(/REGEX/)[0]
Post a comment