4 Answered Questions for the topic regex
grep regex to ignore comment at end of line?
I'm trying to grep through a lot of old PowerBASIC source files in search of a variable, but I'm having trouble getting `grep` to avoid matching references to the variable in the end-of-line... more
Match all occurrences of a regex?
Is there a quick way to find every match of a regular expression in Ruby? I've looked through the Regex object in the Ruby STL and searched on Google to no avail.
Finding strings that differ with at most one letter from a given string in SAS with PROC SQL?
First some context. I am using proc sql in SAS, and need to fetch all the entries in a data set (with a couple of million entries) that have variable "Name" equal to (let's say) "Massachusetts". Of... more