X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=unicorn%2Funicorn_to_tsv.pl;h=a6cdf475229b736110fb78da2f7e9b99e0232491;hp=1fad7d4b85c71fe4795692de0e4e8237b13446ae;hb=5f358632626dc390ef79acbe304c6cceebe6fc3f;hpb=583e4b7c22ba15f37168c0deb49728929a65e6fe diff --git a/unicorn/unicorn_to_tsv.pl b/unicorn/unicorn_to_tsv.pl index 1fad7d4..a6cdf47 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 ( /^\.([A-Z0-9_\/]+?)\.\s+(\|a)?(.*)$/ ) { # Build the name of this field (taking note of whether we're in a named section of data) $field = '';