Skip to content

Commit

Permalink
add minus sign
Browse files Browse the repository at this point in the history
  • Loading branch information
NJ-2020 authored Sep 30, 2024
1 parent 481cc69 commit 85e999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ExpensiMark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export default class ExpensiMark {
{
name: 'reportMentions',

regex: /(?<![^ \n*~])(#[\p{Ll}0-9]{1,99})(?![^<]*(?:<\/pre>|<\/code>|<\/a>))/gimu,
regex: /(?<![^ \n*~])(#[\p{Ll}0-9-]{1,99})(?![^<]*(?:<\/pre>|<\/code>|<\/a>))/gimu,
replacement: '<mention-report>$1</mention-report>',
},

Expand Down

0 comments on commit 85e999b

Please sign in to comment.