Harbs,
Your second thought in my opinion is better solution. My daily job is in
.NET/WPF and in C# following code
var str = "m?o";
Regex reg = new Regex("?");
var match = reg.Match(str);
Will throw "ArgumentException A regular expression parsing error occurred.",
so there is no possibility to pass wrong format of regex.
Piotr
-----
Apache Flex PMC
[email protected]
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-String-match-tp63392p63472.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.