diff --git a/0x06-regular_expressions/1-repetition_token_0.rb b/0x06-regular_expressions/1-repetition_token_0.rb new file mode 100755 index 0000000..f67a905 --- /dev/null +++ b/0x06-regular_expressions/1-repetition_token_0.rb @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby +# This regular expression will match the htn case' + +puts ARGV[0].scan(/hbt{2,5}n/).join