fix bad matching against subdomains

Match for valid subdomains versus anything that comes before a period.

fixes #7
This commit is contained in:
Roman Shtylman
2014-04-20 12:56:26 -04:00
parent 8abb4f395f
commit 8cc22d501c
4 changed files with 35 additions and 10 deletions

View File

@@ -26,7 +26,8 @@
"bouncy": "3.2.1",
"superstack": "0.0.4",
"stylish": "0.4.1",
"makeover": "0.0.1"
"makeover": "0.0.1",
"tldjs": "1.3.1"
},
"devDependencies": {
"mocha": "1.18.2",