View Single Post
Old 02-18-2010, 09:28 PM   #3
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 629
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Superanima,

Your formula is probably fine, but just be careful when using RegEx. Because of it's power and versatility, it is very easy to create a formula that seems to do what you want.

The formula could also find some close, but not exact, matches. Unfortunately you only find out about these errors after the fact. Always try to match a unique combination of characters. If your program allows it also use manual search & replace, not automatic. This makes sure you do not accidentally make things harder for yourself. At least until you get a better understanding of RegEx.

Edit: I should mention that I've discovered this the hard way!

Last edited by Sabardeyn; 02-18-2010 at 09:34 PM.
Sabardeyn is offline   Reply With Quote