fix(FormattingPatterns): fix StyledTimestamp (#147)

This commit is contained in:
ckohen
2021-06-24 02:09:22 -07:00
committed by GitHub
parent 036bb035c9
commit dd12c6ac99
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ export const FormattingPatterns = {
*
* The `timestamp` and `style` group properties are present on the `exec` result of this expression
*/
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR]))>/,
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR])>/,
} as const;
/**

View File

@@ -78,7 +78,7 @@ export const FormattingPatterns = {
*
* The `timestamp` and `style` group properties are present on the `exec` result of this expression
*/
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR]))>/,
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR])>/,
} as const;
/**