To sum up, it turned out that

* the regex="true/false" attribute is currently not supported by 
excelVerifyCellValue; therefore
* any regular expression that is used in an Excel cell value pattern match 
needs to be surrounded with "/" delimiters
* any meta characters such as "/", "(" and ")" have to be escaped by prefixing 
with "\"
* the whole regex has to be on one line.

There are a couple of helpful resources for anyone developing regular 
expressions and wanting to test them. I blogged about this at 
http://aspsp.blogspot.com/2008/04/having-problems-with-string-matching.html and 
someone attached a comment containing a link to the "Regex Coach", a 
stand-alone program - http://www.weitz.de/regex-coach/.
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to