View Single Post
Old 01-08-2012, 02:24 PM   #56
Jabby
Jr. - Junior Member
Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.
 
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
Quote:
Originally Posted by theducks View Post
My reason for a Count is to try and predetermine how many places I will affect.
Not how many I will effect in the end.
My reason for a count is a sanity check. For instance: If I am making a regex change to chapter headings, I run a count to see if my regex expression count matches the number of chapter that I know I have. If it does not match, I do a one by one "find next" to see what steps I need to take to get the results I want.

Wanting the "find" count to match the "replace" count is like wearing a belt and suspenders. With my bad eyes, a nervous mouse hand and a lack of regex experience, I am more than prone to error.

I'lll bet that sometime, in the future, someone will report the non-matching counts as a bug. Any takers?

Regards - John
Jabby is offline