Quote:
Originally Posted by ThreeLizards
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.