Skip to content

Commit

Permalink
Merge pull request #18 from joenio/redundant-greediness-modifier
Browse files Browse the repository at this point in the history
avoid warnind about use of greediness modifier
  • Loading branch information
kamenov committed Oct 8, 2015
2 parents ec95392 + 5d5628f commit 7e1504c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDF/Table.pm
Expand Up @@ -439,7 +439,7 @@ sub table
# This should fix a bug with very long words like serial numbers etc.
if( $max_word_len > 0 )
{
$data->[$row_idx][$column_idx] =~ s#(\S{$max_word_len}?)(?=\S)#$1 #g;
$data->[$row_idx][$column_idx] =~ s#(\S{$max_word_len})(?=\S)#$1 #g;
}

# Init cell size limits
Expand Down

0 comments on commit 7e1504c

Please sign in to comment.