diff --git a/lib/regex_lab.rb b/lib/regex_lab.rb index 60552abf..7fd8500b 100644 --- a/lib/regex_lab.rb +++ b/lib/regex_lab.rb @@ -1,12 +1,13 @@ def starts_with_a_vowel?(word) - + word.match?(/\A[aeiou]/i) end def words_starting_with_un_and_ending_with_ing(text) - + text.scan(/\bun\w*ing\b/) end def words_five_letters_long(text) + text.scan(/\b\w{5}\b/) end