summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Language/TECO.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Language/TECO.pm b/lib/Language/TECO.pm
index 993ae7f..04b0ccf 100644
--- a/lib/Language/TECO.pm
+++ b/lib/Language/TECO.pm
@@ -65,11 +65,11 @@ sub cmd_with_string {
my $str = '';
if ($self->{at}) {
- $self->{command} =~ s/(.)(.*?)\1//;
+ $self->{command} =~ s/(.)(.*?)\1//s;
$str = $2;
}
else {
- $self->{command} =~ s/(.*?)\e//;
+ $self->{command} =~ s/(.*?)\e//s;
$str = $1;
}