Skip to content

Commit

Permalink
Merge pull request #6 from nonsequitur/patch-1
Browse files Browse the repository at this point in the history
Fix regex typo
  • Loading branch information
0xfe committed Mar 17, 2012
2 parents 7425f8a + fbde086 commit 00e088d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refresher.md
Expand Up @@ -305,7 +305,7 @@ previously established rule.
"aa".unpack('b8B8') #=> ["10000110", "01100001"]
"aaa".unpack('h2H2c') #=> ["16", "61", 97]

if "storm:4300" =~ /^(\s+):(\d+)$/
if "storm:4300" =~ /^(\S+):(\d+)$/
host = $1
port = $2
end
Expand Down

0 comments on commit 00e088d

Please sign in to comment.