title: Adding "Max Length" to Regex
body: <p>How can I extend already present Regex's with an attribute telling that the regex can't exceed a maximum length of (let's say) 255?</p>
  
  <p>I've got the following regex:</p>
  
  <p><code>([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)</code></p>
  
  <p>I've tried it like that, but failed:</p>
  
  <p><code>{.,255([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)}</code></p>