View Single Post
Old 07-27-2023, 04:23 PM   #8750
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: 6,991
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Code:
 characters=>\s*(\(Disney\)|\(Elder Scrolls\)|\(Fallout\)|\(How to Train Your Dragon\)|\(Mass Effect\)|\(Redwall\)|\(Skyrim\)|\(Watership Down\))$=>
Code:
 characters=>\s*\((Disney|Elder Scrolls|Fallout|How to Train Your Dragon|Mass Effect|Redwall|Skyrim|Watership Down)\)$=>
You can simplify a little bit by moving the escaped '\(' and '\)' outside instead of copying them every time. Makes it slightly less brittle, IMO.
JimmXinu is online now   Reply With Quote