diff --git a/opkg-feed b/opkg-feed
index 25ef879..36d4463 100755
--- a/opkg-feed
+++ b/opkg-feed
@@ -171,7 +171,7 @@ createFeedLineRegex()
 	#	1 = full source type with any quotes
 	#	2 = source type without quotes if quoted
 	#	3 = source type if unquoted
-	sourceTypePattern='("([^"]*)"|(\S+))\s+';
+	sourceTypePattern='("([^"](src|dist)(/gz)?)"|(src|dist)(/gz)?)\s+';
 
 	# Feed name capture groups (4, 5, 6)
 	#	4 = full feed name with any quotes
