Skip to content

Commit

Permalink
repition token 1
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelWorld20 committed Nov 3, 2023
1 parent abf9f9f commit 1a56e49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 0x06-regular_expressions/2-repetition_token_1.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 case from 0 to 1

puts ARGV[0].scan(/hbt{0,1}n/).join

0 comments on commit 1a56e49

Please sign in to comment.