Skip to content

Commit 0bf88ab

Browse files
authored
Merge pull request #243 from justjoheinz/fix-242
Improve ipkg parser
2 parents 630ba00 + 5427e49 commit 0bf88ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/ipkg.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rx = require 'rx-lite'
44

55
optionsRegexp = /opts\s*=\s*\"([^\"]*)\"/
66
sourcedirRegexp = /sourcedir\s*=\s*([a-zA-Z/0-9.]+)/
7-
pkgsRegexp = /pkgs\s*=\s*(([a-zA-Z/0-9., ]+\s{0,1})*)/
7+
pkgsRegexp = /pkgs\s*=\s*(([a-zA-Z/0-9., -_]+\s{0,1})*)/
88

99
# Find all ipkg-files in a directory and returns
1010
# an observable of an array of files

0 commit comments

Comments
 (0)