lua - Non-greedy matching for email headers -


given email header input this

cc: "'johnny sudson'" <johnny@quvx.com>, <martin@quvx.com>,  <joe@quvx.com> 

how lua match email address? intuition of being <(.*)> or similar matches in greedy fashion, need entry individually....

my use case this.

for emails in  string.gmatch(all_cc,"<(.*)>" )     

so can work each email address individually

non-greedy matching in lua represented in case <.->.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -