tweak regex
This commit is contained in:
parent
eb73e8999b
commit
0099916495
@ -316,7 +316,7 @@ class SocketIOClient: NSObject, SRWebSocketDelegate {
|
|||||||
/**
|
/**
|
||||||
Begin check for binary placeholder
|
Begin check for binary placeholder
|
||||||
**/
|
**/
|
||||||
let binaryGroup = mutMessage["(\\d*)-\\[\"(.*)\",(\\{.*\\})\\]"].groups()
|
let binaryGroup = mutMessage["(\\d*)-\\[\"(.*)\",(\\{.*\\})\\]$"].groups()
|
||||||
// println(binaryGroup)
|
// println(binaryGroup)
|
||||||
if (binaryGroup != nil) {
|
if (binaryGroup != nil) {
|
||||||
let messageType = RegexMutable(binaryGroup[1])
|
let messageType = RegexMutable(binaryGroup[1])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user