Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit 27e4629

Browse files
committed
=BG= add "down under" to regex
1 parent 88b1723 commit 27e4629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filter-aussies.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const AU_LOCATION_REGEX =
2-
/\Wau(s|st)?\W|australia|straya|hobart|sydney|melbourne|brisbane|perth|darwin|adelaide|canberra|\W(nsw|vic|qld|new south wales|victoria|queensland|western australia|northern territory|south australia|tasmania)\W/i
2+
/\Wau(s|st)?\W|australia|straya|down under|hobart|sydney|melbourne|brisbane|perth|darwin|adelaide|canberra|\W(nsw|vic|qld|new south wales|victoria|queensland|western australia|northern territory|south australia|tasmania)\W/i
33
// secondary guess, does your blog UI end with .au?
44
, AU_BLOG_REGEX = /\.au$/i
55
, AU_BLACKLIST_REGEX = /fl|florida/i
@@ -15,4 +15,4 @@ function filterAussies (users) {
1515
return users.filter(isAussie)
1616
}
1717

18-
module.exports = filterAussies
18+
module.exports = filterAussies

0 commit comments

Comments
 (0)