Completed
Last Updated: 22 Sep 2015 11:31 by ADMIN
ADMIN
Ivaylo
Created on: 08 Jul 2015 08:40
Type: Bug Report
0
Verification fails when using CompareType: RegEx
Steps to reproduce:


1. Execute the test attached internally.


Expected behavior: the test should pass.

Actual behavior: the verification fails with the following exception:

Value of 'element' does not match!

   Match Type: 'RegEx'
   Expected Result: ''/\d{2,}/g''
   Value at time of failure: '2450'


1 comment
ADMIN
Daniel Djambov
Posted on: 22 Sep 2015 11:31
Telerik: The expression ''/\d{2,}/g'' is invalid in .NET. You can verify that, using the Microsoft "Regex.Match" method or online expression validation tools like the following site: http://regexhero.net/tester/

 For example, the following are sample expressions which match "2450"
 1. "\d{2,}"
 2. "\d{2,4}"
 3. "\d{4}"