Permalink
Browse files

Merge pull request #6 from nonsequitur/patch-1

Fix regex typo
  • Loading branch information...
2 parents 7425f8a + fbde086 commit 00e088d77a4949d94a058b64c79af19fabfb26c1 @0xfe committed Mar 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 refresher.md
View
2 refresher.md
@@ -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

0 comments on commit 00e088d

Please sign in to comment.