[MlMt] get sub folder pr unique id in subject?

Benny Kjær Nielsen mailinglist at freron.com
Wed Feb 25 06:37:45 EST 2015


On 25 Feb 2015, at 12:15, Max Rydahl Andersen wrote:

> Example:
>
> [jbosstools-issues] (JBIDE-19362) Garbled text in forge list when 
> SWT_GTK3 is true
>
> I want to get the submailbox to be just JBIDE-19362

That would be something like this:

	${subject/.*\((.*)\).*/$1/}

Actually, it should probably be more like this (to avoid problems with 
other parentheses in the subject):

	${subject/.*\(([^)]*)\).*/$1/}

-- 
Benny


More information about the mailmate mailing list