View Single Post
Old 04-26-2013, 12:46 AM   #1342
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.
 
Posts: 1,820
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Attached is a version that doesn't strip spaces from around the replace_metadata regular expressions. However, I can't stop the .ini parser stripping trailing spaces. So I've added a '\s'->' ' feature for the replacement string.
Code:
## So this works now:
replace_metadata:
 ships=> & =>/

## But to do the reverse, replace name/name with name & name,
## you have to do this:
replace_metadata:
 ships=>/=>\s&\s
UPDATE Apr 27 2013 - Remove obsolete beta versions

Last edited by JimmXinu; 04-27-2013 at 08:29 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote