From 5566ec450387971ca4283c7aa17aa4ec18fae613 Mon Sep 17 00:00:00 2001 From: vlm Date: Thu, 4 May 2006 17:35:24 +0000 Subject: [PATCH] fix for rfc2560 git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1111 59561ff5-6e30-0410-9f3c-9617f08c8826 --- examples/crfc2asn1.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/crfc2asn1.pl b/examples/crfc2asn1.pl index c22f81dd..ecf75732 100755 --- a/examples/crfc2asn1.pl +++ b/examples/crfc2asn1.pl @@ -43,7 +43,7 @@ while(<>) { 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;