You are viewing limited content. For full access, please sign in.

Question

Question

QF - Pattern Matching - is it the first or last result? testing says first, production says last

asked on June 11, 2015

When I test the following pattern it returns the first value. However when I run the QF session it returns the last value. Isn't the same regular expression engine used for testing as is used in production?

Testing

 

 

Actual result

 

0 0

Replies

replied on June 11, 2015

The runtime value is correct. ".*" covers everything between "This is line 1" and the $ on the second line.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.