tweak regex

This commit is contained in:
Erik 2014-11-26 18:49:12 -05:00
parent eb73e8999b
commit 0099916495

View File

@ -316,7 +316,7 @@ class SocketIOClient: NSObject, SRWebSocketDelegate {
/**
Begin check for binary placeholder
**/
let binaryGroup = mutMessage["(\\d*)-\\[\"(.*)\",(\\{.*\\})\\]"].groups()
let binaryGroup = mutMessage["(\\d*)-\\[\"(.*)\",(\\{.*\\})\\]$"].groups()
// println(binaryGroup)
if (binaryGroup != nil) {
let messageType = RegexMutable(binaryGroup[1])