Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Parser {

const PATTERNS = Object.freeze({
TABLE: /^Table .+/,
NEW_GAME: /^PokerStars .+ Hand #([0-9]+):.+([0-9]{4}\/[0-9]{2}\/[0-9]{2} [0-9:]+)/,
NEW_GAME: /^PokerStars.+Hand #([0-9]+):.+([0-9]{4}\/[0-9]{2}\/[0-9]{2} [0-9:]+)/,
JOIN_TABLE: /^(.+) joins the table at seat/,
SEAT: /^Seat [0-9]+: (.+) \(([0-9]+) in chips\)$/,
SMALL_BLIND: /^(.+): posts small blind ([0-9]+)$/,
Expand All @@ -107,7 +107,7 @@ const PATTERNS = Object.freeze({
SUMMARY: /^(\*)+ SUMMARY (\*)+/,
SHOWS: /^(.+): shows \[([2-9TJQKA][scdh]) ([2-9TJQKA][scdh])]/,
SHOWS_ONE: /^(.+): shows \[([2-9TJQKA][scdh])]/,
COLLECTED: /^(.+) collected ([\-0-9]+) from (side |main )?pot$/,
COLLECTED: /^(.+) collected ([\-0-9]+) from (side |main )?pot/,
TOTAL_POT: /^Total pot ([0-9]+).* \| Rake ([0-9]+)$/,
BOARD: /^Board \[/,
SEAT_SUMMARY: /^Seat [0-9]+: (.+) (\(button\) |\(small blind\) |\(big blind\) )?(folded|showed|mucked|collected)/,
Expand Down