Commit 4217846a authored by Koen Martens's avatar Koen Martens

Littefield grid helper: match only valid hgurls

parent ede51dd9
......@@ -3,7 +3,7 @@ from helper import Helper
from lib.category import Category
class LfHelper(Helper):
hgexp = re.compile('lfgrid.com:8002:([^:]+)', flags=re.I)
hgexp = re.compile('^lfgrid.com:8002:([^:]+)', flags=re.I)
expr = {
re.compile("bondage ranch",flags=re.I) : 'lfgrid.com:8002:Bondage Ranch',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment