Skip to content

regex/time

  • fractionalSecond: RegExp matching 1–9 fractional-second digits (nanosecond precision).
  • hour: RegExp matching an ISO 8601 hour in extended format: 00–23.
  • millisecond: Backward-compatible alias for fractionalSecond.
  • minute: RegExp matching an ISO 8601 minute: 00–59.
  • plainTime: RegExp matching ISO 8601 local time (extended): HH:mm[:ss[.fffffffff]].
  • second: RegExp matching a second of 00–59.