Skip to content

Commit

Permalink
Update IssueCloseAction.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fkdl0048 authored Oct 15, 2024
1 parent b12ec86 commit 3ed573b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/IssueCloseAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
process.exit(0);
}
// 정규식 수정: 코드 블록을 보다 정확하게 매칭
const codeBlockRegex = /```(?:cpp)?\n([\s\S]*?)\n```/gm;
// 정규식 수정: 개행 문자 유무와 상관없이 코드 블록 매칭
const codeBlockRegex = /```(?:cpp)?\s*([\s\S]*?)\s*```/gm;
let code = '';
let match;
while ((match = codeBlockRegex.exec(issueBody)) !== null) {
Expand Down

0 comments on commit 3ed573b

Please sign in to comment.