mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-08 22:11:21 +01:00
Include trailing space in a regular expression.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
80efd095a8
commit
b83ca4812b
@ -551,7 +551,7 @@ our %tccmd;
|
|||||||
assert ( $cmd eq 'INLINE' );
|
assert ( $cmd eq 'INLINE' );
|
||||||
$matches = get_inline_matches;
|
$matches = get_inline_matches;
|
||||||
|
|
||||||
if ( $matches =~ /^(.*\s+)-j\s+(.+)$/ ) {
|
if ( $matches =~ /^(.*\s+)-j\s+(.+) $/ ) {
|
||||||
$matches = $1;
|
$matches = $1;
|
||||||
$target = $2;
|
$target = $2;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user