The Crux

A rock climbing platform that connects to the community via short quips, quotable and notable moments, photos, and more. A blog that provides a broad range of analogies that will enhance your awareness of the sport of local rock climbing in NW Oregon and SW Washington.

Pages

  • Home
  • Short Stories
  • History
  • Crag Trivia
  • Bouldering Trivia
  • Photos

Friday, February 10, 2023

ReEx patterns

 A bit of RegEx indeed....

^(?:([0]?\d|1[012])|(?:1[3-9]|2[0-3]))[.:h]?[0-5]\d(?:\s?(?(1)(am|AM|pm|PM)))?$

Matches times in a variety of formats.

Posted by pdx at 8:51 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Categories

  • Bouldering Trivia
  • Crag Trivia
  • Short Stories
  • Step into History
  • Training outdoors
  • Trivia

Blog Archive

  • ►  2024 (10)
    • ►  August (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (5)
    • ►  March (2)
  • ▼  2023 (7)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ▼  February (1)
      • ReEx patterns
  • ►  2022 (18)
    • ►  December (4)
    • ►  November (5)
    • ►  October (3)
    • ►  August (1)
    • ►  July (4)
    • ►  June (1)
  • ►  2021 (3)
    • ►  August (1)
    • ►  April (1)
    • ►  January (1)
  • ►  2020 (1)
    • ►  June (1)
  • ►  2019 (18)
    • ►  September (1)
    • ►  August (17)
Awesome Inc. theme. Powered by Blogger.