From: Peter Verthez Date: Fri, 1 Nov 2002 13:43:43 +0000 (+0000) Subject: Pointer with only one character is also valid. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=90a75e98afc72c80e06e566d764d92f076e7f26a;p=gedcom-parse.git Pointer with only one character is also valid. --- diff --git a/gedcom/gedcom_1byte.lex b/gedcom/gedcom_1byte.lex index 05cda40..42e7cb8 100644 --- a/gedcom/gedcom_1byte.lex +++ b/gedcom/gedcom_1byte.lex @@ -49,7 +49,7 @@ alphanum {alpha}|{digit} gen_delim {delim}|{tab} escape @#{any_char}+@ -pointer @{alphanum}{non_at}+@ +pointer @{alphanum}{non_at}*@ %% diff --git a/gedcom/gedcom_hilo.lex b/gedcom/gedcom_hilo.lex index a63b408..91735f1 100644 --- a/gedcom/gedcom_hilo.lex +++ b/gedcom/gedcom_hilo.lex @@ -52,7 +52,7 @@ alphanum {alpha}|{digit} gen_delim {delim}|{tab} escape \x00@\x00#{any_char}+\x00@ -pointer \x00@{alphanum}{non_at}+\x00@ +pointer \x00@{alphanum}{non_at}*\x00@ %% diff --git a/gedcom/gedcom_lohi.lex b/gedcom/gedcom_lohi.lex index f656ba2..1678875 100644 --- a/gedcom/gedcom_lohi.lex +++ b/gedcom/gedcom_lohi.lex @@ -52,7 +52,7 @@ alphanum {alpha}|{digit} gen_delim {delim}|{tab} escape @\x00#\x00{any_char}+@\x00 -pointer @\x00{alphanum}{non_at}+@\x00 +pointer @\x00{alphanum}{non_at}*@\x00 %%