From 8cf0d17c3fc98339275f1670684837d63375d1cc Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 14 Dec 2003 04:28:11 +0000 Subject: [PATCH] fix caps parsing. Some evil person (me?\!) disallowed the dot as a character in caps Original commit message from CVS: fix caps parsing. Some evil person (me?\!) disallowed the dot as a character in caps --- gst/parse/parse.l | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/parse/parse.l b/gst/parse/parse.l index 95fb0c5ff8..761f2ee80b 100644 --- a/gst/parse/parse.l +++ b/gst/parse/parse.l @@ -42,9 +42,10 @@ _ref {_identifier}"."{_identifier}? _binref {_identifier}[[:space:]]*"."[[:space:]]*"(" /* links */ -_capschar ("\\".)|([^[:space:]\;!\.\,\(\)\]\[]) +_mimechar ([[:alnum:]-]) +_mimetype ({_mimechar}+"/"{_mimechar}+)|("\""([^\"]|"\\\"")*"\"")|("'"([^']|"\\\"")*"'") +_capschar ("\\".)|([^[:space:]\;!\,\(\)\]\[]) _capsstring {_capschar}+|("\""([^\"]|"\\\"")*"\"")|("'"([^']|"\\\"")*"'") -_mimetype ({_capschar}+"/"{_capschar}+)|("\""([^\"]|"\\\"")*"\"")|("'"([^']|"\\\"")*"'") _caps {_mimetype}(","[^!]|{_capsstring})* _link ("!"[[:space:]]*{_caps}([[:space:]]*";"[[:space:]]*{_caps})*[[:space:]]*"!")|("!")