Christophe
Weblog
Wiki
Code
Publications
Music
projects
/
specializable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc75e3
)
allow digits in the media subtype
author
Christophe Rhodes
<csr21@cantab.net>
Tue, 17 Dec 2013 12:17:27 +0000
(12:17 +0000)
committer
Christophe Rhodes
<csr21@cantab.net>
Tue, 17 Dec 2013 12:17:27 +0000
(12:17 +0000)
audio/mp3 might be helpful
accept-specializer.lisp
patch
|
blob
|
history
diff --git
a/accept-specializer.lisp
b/accept-specializer.lisp
index dee8a89d78feefc1eabce6a4fa552d2380c4f1e8..f8d55638432ac53f2acfd454b6290ce6aa41613c 100644
(file)
--- a/
accept-specializer.lisp
+++ b/
accept-specializer.lisp
@@
-65,7
+65,7
@@
(result (make-accept-node :name nil)))
(cl-ppcre:do-register-groups (type subtype qp q)
;; not desperately error-proof
- ("([a-z]*|\\*)/([a-z]*|\\*)(;q=([01]\\.[0-9]*))?(,|$)" string result)
+ ("([a-z]*|\\*)/([a-z
0-9
]*|\\*)(;q=([01]\\.[0-9]*))?(,|$)" string result)
(if qp
(setf q (float (+ (digit-char-p (char q 0))
(/ (parse-integer q :start 2)