Slight tweak to READ-CONTENT's metadata parsing.
This commit is contained in:
parent
16d7656421
commit
16272cc6a6
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
(read-sequence seq stream)
|
(read-sequence seq stream)
|
||||||
(remove #\Nul seq)))
|
(remove #\Nul seq)))
|
||||||
(parse-field (str)
|
(parse-field (str)
|
||||||
(nth-value 1 (cl-ppcre:scan-to-strings "[a-zA-Z]+: (.*)" str)))
|
(nth-value 1 (cl-ppcre:scan-to-strings "[a-zA-Z]+:\\s+(.*)" str)))
|
||||||
(field-name (line)
|
(field-name (line)
|
||||||
(make-keyword (string-upcase (subseq line 0 (position #\: line))))))
|
(make-keyword (string-upcase (subseq line 0 (position #\: line))))))
|
||||||
(with-open-file (in file :external-format '(:utf-8))
|
(with-open-file (in file :external-format '(:utf-8))
|
||||||
|
|
Loading…
Add table
Reference in a new issue