Skip to content

Commit

Permalink
Update Summarize the thread so far.js
Browse files Browse the repository at this point in the history
  • Loading branch information
earlduque authored Nov 7, 2023
1 parent c8d2aee commit bfa18c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parsers/Summarize the thread so far.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ flags:gmi
}

function findWordAfterDashDash(str) {
var match = str.match(/--\s*(\w+)/);
var match = str.match(/--\s*(\w+).+/);
return match ? " in the style of " + match[1] : "";
}
var style = findWordAfterDashDash(current.text);
Expand Down

0 comments on commit bfa18c9

Please sign in to comment.