Skip to content

Commit

Permalink
update line break regex to include carriage return
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Apr 3, 2024
1 parent 263bfe8 commit 28d9929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ const CONST = {
EMOJI_NAME: /:[\w+-]+:/g,
EMOJI_SUGGESTIONS: /:[a-zA-Z0-9_+-]{1,40}$/,
AFTER_FIRST_LINE_BREAK: /\n.*/g,
LINE_BREAK: /\n/g,
LINE_BREAK: /\r\n|\n/g,
CODE_2FA: /^\d{6}$/,
ATTACHMENT_ID: /chat-attachments\/(\d+)/,
HAS_COLON_ONLY_AT_THE_BEGINNING: /^:[^:]+$/,
Expand Down

0 comments on commit 28d9929

Please sign in to comment.