Micro Focus QTP (UFT) Forums

Full Version: "Or" (|) does not work in Regex, using childObjects??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

Can somebody tell me, why this regular expression (used for "html id" in a description object)..

.*col_.*

returns 10 objects, and this one

.*RowGroup.*Column|.*col_.*

, on the same page returns 0 (ZERO)?

Do I get it right, that QTP supports a different kind of regular expression when using .childObjects(..)? One that does not support an "or" (|)????


Thanks very much for your help!
Cheers,
CC