I'm having difficulty scanning for the special character "[". After looking around, I've tried:
var regEx = new RegExp(someValue + "[\x5B]"); // "5B" is the hex-value for "["
(I DO want case-sensitivity and I ONLY want the first occurrence so I intentionally didn't add any modifiers.)
I have been looking and looking, and I still have no idea what I'm doing wrong. If this is a bone-headed question, I'm sorry, but I'm new to JavaScript, and I'm still learning all the ins and outs.