Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Interpretation help!!!

ruby

  • Please log in to reply
No replies to this topic

#1 jhumberger

jhumberger

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 30 January 2012 - 08:37 AM

Can someone who understands ruby give me the layman's interpretation as to what this email address (username) format would be?
username = line.scan(/\:(?:<).*@(.*)\.#{EMAIL_DOMAIN}(?:>)/).flatten.first
  • 0





Also tagged with one or more of these keywords: ruby