2008-08-14, 12:08 AM
The "search" part of the template search/replace tool is case-insensitive because it just uses a template LIKE '%WhatEver%' database query. However, the "replace" part is case-sensitive because it uses str_replace(). That can cause buggy search results like these:
[attachment=10488]
(Notice that the $label variable is only modified on the second result)
[attachment=10488]
(Notice that the $label variable is only modified on the second result)