Skip to content

Commit

Permalink
clean up 'offer' detection
Browse files Browse the repository at this point in the history
  • Loading branch information
cscullen committed Apr 25, 2023
1 parent 5baf8bc commit 07be376
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class PoeTradeCurrencyParser extends BaseRegexParser {

private static final String poeCurrencyPattern = "^(.*\\s)?(.+): (.+ to buy your (\\d+(\\.\\d+)?)? (.+) for my (\\d+(\\.\\d+)?)? (.+) in(.*?)\\s*(offer)?)$";
private static final String poeCurrencyPattern = "^(.*\\s)?(.+): (.+ to buy your (\\d+(\\.\\d+)?)? (.+) for my (\\d+(\\.\\d+)?)? (.+) in(.*?)\\.?\\s*(offer.*)?)$";

public PoeTradeCurrencyParser() {
super(poeCurrencyPattern);
Expand Down

0 comments on commit 07be376

Please sign in to comment.