Merge pull request #981 from gedankenexperimenter/b/ktest.token-separation

Make ktest match for "keyswitch" token non-greedy
pull/721/merge
Jesse Vincent 4 years ago committed by GitHub
commit 404bb4f3e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,7 +88,7 @@ sub load_from_text {
},
keyswitch => sub {
my $content = shift;
if ( $content =~ /^(.*)\s+(\d+)\s+(\d+)$/ ) {
if ( $content =~ /^(.*?)\s+(\d+)\s+(\d+)$/ ) {
my $switch = $1;
my $row = $2;
my $col = $3;

Loading…
Cancel
Save