dynarex 1.1.33 → 1.1.34
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +1 -1
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -387,7 +387,7 @@ EOF
|
|
387
387
|
|
388
388
|
if raw_header then
|
389
389
|
header = raw_header[/<?dynarex (.*)?>/,1]
|
390
|
-
header.scan(/\w+\s*=\s*["'
|
390
|
+
header.scan(/\w+\s*=\s*(?:"[^"]+"|'[^']+')/).map\
|
391
391
|
{|x| r = x.split(/=/,2); [(r[0].rstrip + "=").to_sym, \
|
392
392
|
r[1][/^\s*"(.*)"$/,1]] }.each \
|
393
393
|
{|name, value| self.method(name).call(value)}
|