allow for numbers and other characters


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@46 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/asn1c/check-parsing.sh b/asn1c/check-parsing.sh
index a053326..dc20aca 100755
--- a/asn1c/check-parsing.sh
+++ b/asn1c/check-parsing.sh
@@ -5,7 +5,7 @@
 ec=0
 
 for ref in ../tests/*.asn1.-*; do
-	src=`echo "$ref" | sed -e 's/\.-[a-zA-Z]*$//'`
+	src=`echo "$ref" | sed -e 's/\.-[-a-zA-Z0-9=]*$//'`
 	flags=`echo "$ref" | sed -e 's/.*\.-//'`
 	echo "Checking $src against $ref"
 	./asn1c "-$flags" "$src" > "$tmpfile" || ec=$?