View Single Post
Old 06-10-2012, 07:36 AM   #1
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"
Regex F&R problem?

I had noticed in the past that the regex count and replace numbers didn't always match and decided to look into it.

The reason for this disparity is that the count notes each instance of the regex match while the replace function replaces only the first match in any given paragraph. Ergo, the count difference. This is not true for a "normal" F&R.

No big problem if you are aware of this anomaly. Just re-run the F&R until none are replaced.

I hope this isn't old hat but I haven't seen anything on it and a search didn't turn up anything.

Regards - John
Jabby is offline   Reply With Quote