expensify-common 2.0.83 → 2.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@ class ExpensiMark {
68
68
  {
69
69
  name: 'codeFence',
70
70
  // ` is a backtick symbol we are matching on three of them before then after a new line character
71
- regex: /(```(\r\n|\n))((?:\s*?(?!(?:\r\n|\n)?```(?!`))[\S])+\s*?(?:\r\n|\n))(```)/g,
71
+ regex: /(```.*?(\r\n|\n))((?:\s*?(?!(?:\r\n|\n)?```(?!`))[\S])+\s*?(?:\r\n|\n))(```)/g,
72
72
  // We're using a function here to perform an additional replace on the content
73
73
  // inside the backticks because Android is not able to use <pre> tags and does
74
74
  // not respect whitespace characters at all like HTML does. We do not want to mess
@@ -215,7 +215,7 @@ class ExpensiMark {
215
215
  */
216
216
  {
217
217
  name: 'reportMentions',
218
- regex: /(?<![^ \n*~_])(#[\p{Ll}0-9-]{1,80})(?![^<]*(?:<\/pre>|<\/code>|<\/a>))/gimu,
218
+ regex: /(?<![^ \n*~_])(#[\p{Ll}0-9-]{1,99})(?![^<]*(?:<\/pre>|<\/code>|<\/a>))/gimu,
219
219
  replacement: '<mention-report>$1</mention-report>',
220
220
  },
221
221
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expensify-common",
3
- "version": "2.0.83",
3
+ "version": "2.0.85",
4
4
  "author": "Expensify, Inc.",
5
5
  "description": "Expensify libraries and components shared across different repos",
6
6
  "homepage": "https://expensify.com",