Ahh, I found my problem using the
http://jakarta.apache.org/oro/demo.html page's applet to test my regex
(oro is a bit different than other regex engines I think..)
This maybe a touch long, but I hope this will help other folks who've
struggled with the regex extractor.

My original  was
SelectRow('${major}|(.+?*)
It matched nothing

The first fix was
SelectRow\('${major}|(.+?)
This was showing a match on each and every part of the string to match
(one for the first chunk before the (.+?) group, and then one for each
character in the group)

and what works is
SelectRow\('${major}\|(.+)'\)

Without the last ' it was matching everything in the (.+?) group, but
including the final tick, and without escaping the |, it was including
the | in the result also.


Thanks all!
--Kyle

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to