flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject Re: [FlexJS] String.match()
Date Thu, 20 Jul 2017 20:36:20 GMT

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. 


Apache Flex PMC
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.

View raw message