The “Life Hack” from today’s Session

  • Post category:Development
  • Post comments:6 Comments
  • Reading time:1 min read

And yes, I almost forgot… Somebody (sorry, I didn’t catch the name) asked me to put my life hack on the blog as well, so here it is. For all of you who were not there, I use this as a template for declaring .NET variables – until Microsoft provides means to declare them in a simpler ways. Inline, anyone?

So – download the life hack, or cheat sheet, here: https://vjeko.com/wp-content/uploads/2014/11/Life_Hack_No_1.docx

This Post Has 6 Comments

  1. Jelle's avatar
    Jelle

    Thanks! Very useful

    1. Vjeko's avatar
      Vjeko

      Cool, thanks for sharing.

  2. Jan Veenendaal's avatar
    Jan Veenendaal

    Hi, the regular expressions you have included for e-mail addresses are not complete – they only search for top-level domains having 2 or 3 characters. Nowadays there are many tld’s with more characters, like .name , .info or .museum

    Very useful post – regardless!

    1. Vjeko's avatar
      Vjeko

      @Jan: yes, you are right. I agree this is not a comprehensive regular expression. The point of the functionality is not about which regex to use to match the e-mail address, but to explain what regex are and how to use them. Thanks for the comment, though!

Leave a Reply to VjekoCancel reply