title: Typescript Regex Extension methods
body: <pre><code>export class Regex { 
      public static readonly BLANK = /^\s+$/;
      public static readonly DIGITS = /^[0-9]*$/;
  }
  </code></pre>
  
  <p>How can I create extension methods for Regex Class? I want to use Regex.Blank.toString() where required</p>