KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to look for all occurrences of a word in a line, but the search must be case insensitive. What else do I need to add to my regular expression? arr = line.scan(/\s+#{word}\s+/)
Tags (comma-separated)
Save Edits
Cancel