Created
April 19, 2016 09:44
-
-
Save anonymous/9a46aad54f41a0f1cef136c54187e910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extracted_names = [] | |
index = 0 | |
while (m = name_list.match(name_regex, index)) | |
@extracted_names.push(m) | |
index = m.end(0) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment