Description of problem: After running a project-wide search, when using the replace feature, the search is treated as a regular expression, so '.' will match any character and '?' at the beginning of the search string causes an error in replacement. Version-Release number of selected component (if applicable): 1.6-alpha-1 How reproducible: Always Steps to Reproduce: 1.Sign in to a project and enter "?testing..." in any two translation fields 2.Navigate to project wide search and replace 3.Search for "..." 4.Enter "!" in the replacement field 5.Click "replace" next to one of the "?testing..." fields 6.Search for "?test", enter "test" in replacement field 7.Click "replace" next to the other "?testing..." field Actual results: 5. string changed to "!!!.." 7. message "Replace text failed" shown and no replacement made Expected results: 5. string changed to "?testing!" 7. string changed to "testing..." Additional info:
Fixed, see: https://github.com/zanata/zanata/commit/abeb121b05c3b31656b372e1a0f9bae6e348eb60
verified in Zanata version 1.6.0-alpha-3-SNAPSHOT (20120430-0019).