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

Max Rydahl Andersen max.andersen at gmail.com
Wed Feb 25 07:02:33 EST 2015


On 25 Feb 2015, at 12:37, Benny Kjær Nielsen wrote:

> 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/}

that did it. not sure why I couldn't figure that out.

Thanks!


/max
http://about.me/maxandersen


More information about the mailmate mailing list