Skip to content

Commit

Permalink
XX debug
Browse files Browse the repository at this point in the history
  • Loading branch information
indowebdeveloper committed Jan 15, 2025
1 parent d3e4f50 commit ed99a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-twitter/src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ export class TwitterPostClient {
const _replyText = replyText;

// Regular expression untuk menangkap teks
const regex = /{ "user": "SUIRISE", "text": "(.*)/;
const regex = /"text": "(.*)/s;

// Ekstrak teks menggunakan regex
const match = regex.exec(_replyText);
Expand Down

0 comments on commit ed99a14

Please sign in to comment.