fix for rfc2560
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1111 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/examples/crfc2asn1.pl b/examples/crfc2asn1.pl
index c22f81d..ecf7573 100755
--- a/examples/crfc2asn1.pl
+++ b/examples/crfc2asn1.pl
@@ -43,7 +43,7 @@
my $rfcid = '';
$rfcid = $1 . '-' if($ARGV =~ /([a-z0-9]+)/i);
- if(/^[ \t]+([A-Z][A-Za-z0-9-]*).*DEFINITIONS.*::=/) {
+ if(/^[ \t]*([A-Z][A-Za-z0-9-]*).*DEFINITIONS.*::=/) {
$modName = $1;
$currentFname = $rfcid . $modName . ".asn1";
$inasn = 1;