summaryrefslogtreecommitdiff
path: root/support/latexindent/LatexIndent/Command.pm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-08 03:01:28 +0000
committerNorbert Preining <norbert@preining.info>2023-01-08 03:01:28 +0000
commit7d5553601ccc6f3feed4f9563a6270739bd4da54 (patch)
tree5439910db3631d3200f0f7df70e3d8707ab146cf /support/latexindent/LatexIndent/Command.pm
parentc946b2e792715f6030486d5214be1df081de37a8 (diff)
CTAN sync 202301080301
Diffstat (limited to 'support/latexindent/LatexIndent/Command.pm')
-rw-r--r--support/latexindent/LatexIndent/Command.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/latexindent/LatexIndent/Command.pm b/support/latexindent/LatexIndent/Command.pm
index e919f33d11..9e2a677a1b 100644
--- a/support/latexindent/LatexIndent/Command.pm
+++ b/support/latexindent/LatexIndent/Command.pm
@@ -33,7 +33,7 @@ our $commandRegExpTrailingComment;
our $optAndMandAndRoundBracketsRegExp;
our $optAndMandAndRoundBracketsRegExpLineBreaks;
-# store the regular expresssion for matching and replacing
+# store the regular expression for matching and replacing
sub construct_command_regexp {
my $self = shift;
@@ -205,7 +205,7 @@ sub tasks_particular_to_each_object {
and ${$self}{replacementText} !~ m/\R$/ )
{
$logger->trace(
- "${$self}{name}: trailling horizontal space found in arguments -- removing it from arguments, adding to replacement text"
+ "${$self}{name}: trailing horizontal space found in arguments -- removing it from arguments, adding to replacement text"
) if $is_t_switch_active;
${ ${ ${$self}{children} }[0] }{body} =~ s/(\h*)$//s;
${$self}{replacementText} .= "$1";