title: Bash regex to match dots and characters
body: <p>I'm trying to use the <strong>=~</strong> operator to execute a regular expression pattern against a curl response string. </p>
  
  <p>The pattern im currently using is:</p>
  
  <pre><code>name\":\"(\.[a-zA-Z]+)\"
  </code></pre>
  
  <p>Currently however this pattern only extracts values that that contain only the characters a-z and A-Z. I need this pattern to also pick up values that contain a '.' character and a '@' character. How would I do this?</p>
  
  <p>Also, is there any way this pattern can be improved performance wise? It takes quite a long time to execute against the string.</p>
  
  <p>Cheers.</p>