summaryrefslogtreecommitdiff
blob: 429a1bed0ad1627606103d67a6179268b4d6679c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/htb.init
+++ b/htb.init
@@ -453,7 +457,7 @@
 	### Load & filter file $HTB_PATH/$1
 	htb_filter_file () {
 		sed -n "s/#.*//; s/[^a-zA-Z0-9.,;:=/*-_]\+//g; \
-		/^[a-zA-Z0-9]\+=[a-zA-Z0-9.,:;/*-_]\+$/ p" $HTB_PATH/$1
+		/^[a-zA-Z0-9_]\+=[a-zA-Z0-9.,:;/*-_]\+$/ p" $HTB_PATH/$1
 	} # htb_filter_file
 
 
@@ -517,7 +521,7 @@
 
 	htb_filter_file () {
 		sed 's/#.*//; s/[^a-zA-Z0-9.,;:=/*-_]\+//g' $HTB_PATH/$1 \
-		| grep '^[a-zA-Z0-9]\+=[a-zA-Z0-9.,;:/*-_]\+$'
+		| grep '^[a-zA-Z0-9_]\+=[a-zA-Z0-9.,;:/*-_]\+$'
 	} # htb_filter_file
 
 	htb_clsid_chain () {