Skip to content

Commit

Permalink
Fix regexp escape character
Browse files Browse the repository at this point in the history
  • Loading branch information
sequba committed Aug 14, 2023
1 parent 48a1d42 commit 6f7625f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateTimeDefault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import {DateTime, SimpleDate, SimpleTime} from './DateTimeHelper'
import {Maybe} from './Maybe'

export const TIME_FORMAT_SECONDS_ITEM_REGEXP = new RegExp('^ss(\.(s+|0+))?$')
export const TIME_FORMAT_SECONDS_ITEM_REGEXP = new RegExp('^ss(\\.(s+|0+))?$')

const QUICK_CHECK_REGEXP = new RegExp('^[0-9/.\\-: ]+[ap]?m?$')
const WHITESPACE_REGEXP = new RegExp('\\s+')
Expand Down

0 comments on commit 6f7625f

Please sign in to comment.