[MlMt] Anyway to create a sub-mailbox from a bugzilla bug?

Max Rydahl Andersen max.andersen at gmail.com
Wed Sep 9 07:02:40 EDT 2015


On 8 Sep 2015, at 20:24, Kee Hinckley wrote:

> Bugzilla puts a dozen headers in the email, but none of them actually 
> contain the bug number. Is there anyway to extract something from the 
> subject and use it to make a submailbox?
>
> `Subject: [Morpheus][Bug 412711] New: trying to ingest all 20 cox 
> localities runs out of memory`
>
> Note that the "New: " is only there once, so grouping by title catches 
> everything _except_ the first one.

I got this for jira: ${subject/.*(([^)]*))(.*)/$1/}

Which will extract JBIDE-1235 from "(JBIDE-1235) la la la "

but struggling getting it to work properly with bugzilla, but I assume 
its just me
not getting the proper characters escaped.


/max
http://about.me/maxandersen


More information about the mailmate mailing list