Correct RE in split_action()

This commit is contained in:
Tom Eastep 2010-07-24 11:50:10 -07:00
parent a9a19c4da6
commit 1528cc2094

View File

@ -190,7 +190,7 @@ sub split_action ( $ ) {
# #
# The param may contain one or more ':' characters # The param may contain one or more ':' characters
# #
if ( $action =~ /^([^(:]+\(.*?\))(:(.*))$/ ) { if ( $action =~ /^([^(:]+\(.*?\))(:(.*))?$/ ) {
$target = $1; $target = $1;
$action = $2 ? $3 : ''; $action = $2 ? $3 : '';
$max = 2; $max = 2;