View Single Post
Old 02-08-2025, 08:44 PM   #10303
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: 7,010
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ThreeLizards View Post
Also, I was looking at someone else's code... culterya? And they had something about Dragon Age and only showing the specific dragon age game. I was wondering if there was like a reverse of that? If I could just have it show me only Dragon Age if it finds Dragon Age.

...

Could I tell the program to ignore anything after Dragon Age? or Mass Effect for that matter?
Sure, that's a common usage. Something like:
Code:
# separate lines for ease of maintenance 
 category=>^(Dragon Age).*$=>\1
 category=>^(Mass Effect).*$=>\1
# or single line for both
 category=>^(Dragon Age|Mass Effect).*$=>\1
It probably takes a bit of searching, but many such patterns have been discussed here over the years.
JimmXinu is offline   Reply With Quote