projects
/
usenet
/
usevote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Non-greedy matching for votestrings.
[usenet/usevote.git]
/
uvvote.pl
diff --git
a/uvvote.pl
b/uvvote.pl
index
c101f1f
..
a151250
100755
(executable)
--- a/
uvvote.pl
+++ b/
uvvote.pl
@@
-271,7
+271,7
@@
sub process_vote {
}
# this matches on a single appearance:
}
# this matches on a single appearance:
- if ($$body =~ /#$votenum\W*?\[(.+)\]/) {
+ if ($$body =~ /#$votenum\W*?\[(.+
?
)\]/) {
# one or more vote strings were found
$onevote ||= 1; # set $onevote to 1 if it was 0
my $votestring = $1;
# one or more vote strings were found
$onevote ||= 1; # set $onevote to 1 if it was 0
my $votestring = $1;
This page took
0.010452 seconds
and
4
git commands to generate.