X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=unicorn%2Funicorn_to_tsv.pl;fp=unicorn%2Funicorn_to_tsv.pl;h=c50c32c759568dc855aecfa6dc972d42b183da6f;hp=1fad7d4b85c71fe4795692de0e4e8237b13446ae;hb=f68e1bf564c28571180c1a8f306e18ec16438bfa;hpb=90c43c93714655ffad0bce2b34934b4c0e367f9e diff --git a/unicorn/unicorn_to_tsv.pl b/unicorn/unicorn_to_tsv.pl index 1fad7d4..c50c32c 100755 --- a/unicorn/unicorn_to_tsv.pl +++ b/unicorn/unicorn_to_tsv.pl @@ -69,7 +69,7 @@ while (<>) { # Looks like we've got some actual data! Let's store it. # FIXME: For large batches of data, we may run out of memory and should store this on disk. - if ( /^\.(.*?).\s+(\|a)?(.*)$/ ) { + if ( /^\.(\S+?)\.\s+(\|a)?(.*)$/ ) { # Build the name of this field (taking note of whether we're in a named section of data) $field = '';