I have string in js:  

`var str = "A(B|C)D"`  

and I want to split it by "(", ")", "|". I try to do it in this way:  

`str.split("\(|\)|\|");`  

which doesn't work (result is: Array [ "A(B|C)D" ])
Then I try to do it using regex:  

`str.split(/\(|\)|\|/);`  

which actually work as expected (result is: Array [ "A", "B", "C", "D" ]) but after that FF prints following message in logging console: "SyntaxError: 08 is not a legal ECMA-262 octal constant"