andre.filipe

DevTest Workstation: Regex not working as comparison operator in Request Data

Discussion created by andre.filipe on Mar 3, 2016

So I needed this regex to filter any non-decimal entry in Query String parameter. I've created an expression like this: \D+|^$.

Looks good in any online Regex tester and even via Javascript but I don't know why it doesn't work in Workstation. See attached files for a better understanding.

I ran the following tests:

 

1234567 (no matches, cool)

d (1 match, cool)

da (1 match, cool)

123124d124124 (no matches, not cool)

 

Am I missing something? My version is 8.2.0.

 

Thanks in advance.

Outcomes