Skip to content

Commit

Permalink
repetion token 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelWorld20 committed Nov 3, 2023
1 parent e18e394 commit ab07447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 0x06-regular_expressions/3-repetition_token_2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env ruby
# This regular expression will match the given cases

puts ARGV[0].scan(/hbt+n/).join

0 comments on commit ab07447

Please sign in to comment.