projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6d6e50c
)
Fixed regex to handle lines that begin with a dot and something other than a capital...
author
Ben Ostrowsky
<ben@esilibrary.com>
Wed, 16 Dec 2009 21:02:26 +0000 (21:02 +0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Mon, 16 Jul 2012 16:08:45 +0000 (12:08 -0400)
git-svn-id: svn://nox.esilibrary.com/migration-tools@650
eee7cc8d
-164e-4af6-8e1b-
092a69004917
unicorn/unicorn_to_tsv.pl
patch
|
blob
|
history
diff --git
a/unicorn/unicorn_to_tsv.pl
b/unicorn/unicorn_to_tsv.pl
index
a478227
..
3af493f
100755
(executable)
--- a/
unicorn/unicorn_to_tsv.pl
+++ b/
unicorn/unicorn_to_tsv.pl
@@
-53,7
+53,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-Z]*?).\s+(\|a)?(.*)$/ ) {
# Build the name of this field (taking note of whether we're in a named section of data)
$field = '';