I may simply be confused, but I just had a global find/replace operation appear to go rather haywire on me and thought I'd ask about it. The following values were entered in the dialog...
Find: <cfif Session.InAdminGroup IS "Yes">
Replace: <cfif Session.InAdminGroup>
"Ignore case" was checked and "Regular expression" was unchecked.
Here's what I ended up with in each replaced instance...
<cfif NOT Session.In<cfif Session.InAdminGroup>>
That doesn't seem quite right to me.
-- Jack Baty Fusionary Media - http://www.fusionary.com
On 23/11/2005, at 20:20, Jack Baty wrote:
[...] Here's what I ended up with in each replaced instance...
<cfif NOT Session.In<cfif Session.InAdminGroup>>
That doesn't seem quite right to me.
It doesn't, no. Was it reproducible?
And could it possibly be, that the Replace field did in fact contain the entire (replacement) string that you got? As these are (currently) single lines, pasting into them can result in “hidden” stuff (because of wrapping or newlines).
On 11/23/05, Allan Odgaard throw-away-1@macromates.com wrote:
On 23/11/2005, at 20:20, Jack Baty wrote:
[...] Here's what I ended up with in each replaced instance...
<cfif NOT Session.In<cfif Session.InAdminGroup>>
That doesn't seem quite right to me.
It doesn't, no. Was it reproducible?
I cannot seem to reproduce it on a set of sample documents. (I'd rather not try again on the "real" files). I'll let you know if anything like it happens again.
Thanks
-- Jack Baty Fusionary Media - http://www.fusionary.com Weblog - http://blog.jackbaty.com/