Skip to content

Commit

Permalink
Fix extraction of comments. (closes #245)
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Feb 15, 2022
1 parent 6efda76 commit 9b88386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trizen
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ sub get_comments ($name) {
while (
$content =~ m{
<h4\b.*?>\s*
(\S(?-s:.*?))\ commented\ on\ (?:<.*?>)?(\d\d\d\d-\d\d-\d\d\ \d\d:\d\d)(?:<.*?>)?
(\S+)\ commented\ on\ <a\s+href=".*?"\s+class="date">(\d{4}-\d\d-\d\d\ \d\d:\d\d).*?</a>
\s*</h4>\s*
<div\b.*?class="article-content">\s*
<div> \s* (.*?) </div>\s*
Expand Down

0 comments on commit 9b88386

Please sign in to comment.