Skip to content

Commit

Permalink
Update BasellandschaftlicheKantonalbankPDFExtractor.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirus2000 committed Apr 28, 2024
1 parent e0f307c commit ef5ae66
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -75,7 +75,7 @@ private void addBuySellTransaction()
// @formatter:on
.section("name", "nameContinued", "wkn", "isin", "currency") //
.find("Wir haben für Sie am .*") //
.match("^[\\.'\\d]+ .*$")
.match("^[\\.'\\d]+ .*$") //
.match("^(?<name>.*)$") //
.match("^(?<nameContinued>.*)$") //
.match("^Valor: (?<wkn>[A-Z0-9]{5,9})$") //
Expand All @@ -90,8 +90,8 @@ private void addBuySellTransaction()
// Menge/Nominal Eff. Börsenplatz Preis
// 8 11.311
// @formatter:on
.section("shares")
.find("Menge\\/Nominal.*")
.section("shares") //
.find("Menge\\/Nominal.*") //
.match("^(?<shares>[\\.'\\d]+) [\\.'\\d]+$") //
.assign((t, v) -> t.setShares(asShares(v.get("shares"))))

Expand Down

0 comments on commit ef5ae66

Please sign in to comment.