I thought I would mention this feature. ;o)
It is pretty much a programmer's request.
I find that I often have the need to do Search and Replaces where the word
is the same, but there are multiple contexts of it where some are lowercase,
some are capitalized, and some are uppercase.
So you can't do a simple Search and Replace.
Basically you have to do three separate Search and Replaces, one for each "context",
or do one lowercase Replace and then manually correct those that need to be capitalized or uppercase.
Here is an example: (shown after the replace)
Code: Select all
<div class="sb_title"><img src="/images/random_authors.png" alt="Random Authors" title="Random Authors - Pulled from our Members' List" /></div>
there were two instances of "member", a lowercase and two capitalized.
This is a very simple example.
Sometimes there can be many, or dozens of instances, strewn throughout a program.
This usually involves variable names and related programming contexts. (like the example)
I don't know if it would be worth it or not to add functionality like this, but I would use it,
and it would save me some time. (and irritation, etc.)
Also, the names to change could be in "complex" formats, like changing "member_name" to
"author_name". (that is, "author_name", "Author_Name", and "AUTHOR_NAME")
It would be an interesting algorithm to program.
(I guess you would just have to look at the FOUND value and then make each letter
of the REPLACE value the same case to match -- I suppose the values would have to be
the same size (length) for it to work, otherwise it would be too complex to program,
although you could just match as many characters as match length-wise for those
instances, and any other more complex situations would just have to be done with
multiple Search and Replaces, but you would probably get 95% of the scenarios that way --
I was thinking something like "member" to "author_1", and "member_name" to "author_fullname", etc. --
with some "fancy programming" and logic, you could do some nice stuff, like looking
at the FOUND value and figuring out if it is all lowercase, has some capitalization or not,
and are there "word separators"? (so search and replace words could be of different lengths),
or all uppercase, etc...)