<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 11: Regex not working for find/replace</title><link>https://sourceforge.net/p/practicalmacro/bugs/11/</link><description>Recent changes to 11: Regex not working for find/replace</description><atom:link href="https://sourceforge.net/p/practicalmacro/bugs/11/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 02 Aug 2012 00:53:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/practicalmacro/bugs/11/feed.rss" rel="self" type="application/rss+xml"/><item><title>Regex not working for find/replace</title><link>https://sourceforge.net/p/practicalmacro/bugs/11/</link><description>Search for:
new display\_information\(\\\(.\*?, .\*?, .\*?\), .\*?;

Replace with:
spiderRequestString\1\);

Checked the following check boxes/radio buttons:
Regular Expression Mode
Wrap Search
Search For String
Replace
Replace All

Sample of file contents to be replaced \(works correctly through the eclipse find/replace UI\):
	new display\_information\(0, $strUrl, $query, $testDescription\);
	new display\_information\(0, $strUrl, $query."&amp;locale=".$arrLocale\[array\_rand\($arrLocale\)\], $testDescription\);
	new display\_information\(0, $strUrl, $query."&amp;locale=".$arrLocale\[array\_rand\($arrLocale\)\], $testDescription\);

Workaround:
Use Eclipse built in Find/Replace instead of the macro that was recorded
Other simple search/replace seem to work fine</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deirdra strangio</dc:creator><pubDate>Thu, 02 Aug 2012 00:53:21 -0000</pubDate><guid>https://sourceforge.netc1703db2450e8bcb7ee070d0f72b47e01772bbd7</guid></item></channel></rss>