KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This is what I've been doing instead: my_array.reject { |elem| elem =~ /regex/ }.each { ... } I feel like this is a little unwieldy, but I haven't found anything built in that would let me change it to my_array.grepv /regex/ { ... } Is there such a function?
Tags (comma-separated)
Save Edits
Cancel