View Single Post
Old 10-20-2012, 05:16 PM   #950
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 2,163
Karma: 510311
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage, Nook STR w/Glo, Kindle 3g
Each replace_metadata line is checked in order for regexp and conditional match. So the first one will be applied.

However, if the changed value matches a later line, that later line will also be applied.

A completely made up example:

Code:
replace_metadata:
 genre=>Sci-Fi=>SF
 SF=>San Fransisco
Sci-Fi would be converted first to SF, then SF to San Fransisco. Reversing the order of the two lines would prevent that in this case.
JimmXinu is offline