We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
s
1 parent d32ea38 commit 37e183cCopy full SHA for 37e183c
src/bridge/MatrixHandler.ts
@@ -1373,7 +1373,7 @@ export class MatrixHandler {
1373
const bridgeIntent = this.ircBridge.getAppServiceBridge().getIntent();
1374
// strips out the quotation of the original message, if needed
1375
const replyText = (body: string): string => {
1376
- const REPLY_REGEX = /> <(.*?)>(.*?)\n\n([\s\S]*)/;
+ const REPLY_REGEX = /> <(.*?)>(.*?)\n\n([\s\S]*)/s;
1377
const match = REPLY_REGEX.exec(body);
1378
if (match === null || match.length !== 4) {
1379
return body;
0 commit comments