Main regex did not fully get rid of extraneous material.
This commit is contained in:
parent
4240fb77aa
commit
e868e62f78
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ while (my $line = <STDIN>) {
|
|||
/^\s*(\S+\:.+)\s+[\(\d].+\s+\(?\s*([\d\.\,]+)\s*\)?\s*$/;
|
||||
my($acct, $value) = ($1, $2);
|
||||
$acct =~ s/^\s*//; $acct =~ s/\s*$//;
|
||||
|
||||
$acct =~ s/\s{3,}[\(\)\d,\.\s]+$//;
|
||||
$externalBalances{$acct} = ParseNumber($value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue