Correctly find $votename.
authorThomas Hochstein <thh@inter.net>
Sun, 22 Jan 2012 12:46:33 +0000 (13:46 +0100)
committerThomas Hochstein <thh@inter.net>
Sun, 22 Jan 2012 12:46:33 +0000 (13:46 +0100)
commita374bef4c7e8de63bc43471d5a3d2795173a1070
treee45947706ed74f2a4a417ea5789612fd4a5db2bf
parent1ca99f7368300731796307f6e4d971ee6dbb2da7
Correctly find $votename.

If the ballot is not quoted, the current
regular expression will match $nametext
(minus its first word) as second line
of $votename.

Change regular expression to match only
certain common quote characters at beginning
of second line. (Perhaps it would be even
better to stop matching on empty lines ...)

Check for erroneus match on $nametext as a
safety measure.

Signed-off-by: Thomas Hochstein <thh@inter.net>
uvvote.pl
This page took 0.011023 seconds and 4 git commands to generate.