[rt-users] Searching for a string

Bryon Baker bbaker at copesan.com
Thu Aug 8 17:12:39 EDT 2013


I am searching the content of an email for a string using.

m/'Building: Walgreen Drug Store #\d+/  Does not find text.

But

index($t_subject, 'Building: Walgreen Drug Store #'); Does find text.

I capture the content from the RT log file and found that there is double quotes in the texted.

Is this why it won't work?
Is this the expected results?

If this is the expected result how would I search the text using index for the CRLF character?

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  *  262-783-6261 ext. 2296
bbaker at copesan.com<mailto:cstephan at copesan.com>
www.copesan.com<http://www.copesan.com/>
"Servicing North America with Local Care"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130808/5e5c9c82/attachment.htm>


More information about the rt-users mailing list