10 Matching Annotations
  1. Sep 2024
  2. Dec 2023
  3. Nov 2022
  4. Jun 2022
  5. Feb 2021
    1. URI::MailTo::EMAIL_REGEXP

      First time I've seen someone create a validator by simply matching against URI::MailTo::EMAIL_REGEXP from std lib. More often you see people copying and pasting some really long regex that they don't understand and is probably not loose enough. It's much better, though, to simply reuse a standard one from a library — by reference, rather than copying and pasting!!

  6. Dec 2020