Relevance Question

(imported topic written by Harald.Zarakowitis)

Hi,

I have a small problem with an relevance expression.

I use this expression to get the name of all Fixlets, which match the regex:

unique values of (names of bes fixlets whose (exists match (regex 
"MS07-0[4][0-6]")of first 8 of name of it))

This works. However, what I want is only the first 8 letters of the names of the Fixlets and then a list with no duplicates.

It seems to me, that this should be very easy, but I just don´t seem to get it right.

A little help would be very nice.

Best regards,

Harald

(imported comment written by jessewk)

Hi Harald,

2 solutions for you. The first one is very similar to what you posted:

unique values of (firsts 8 of names of bes fixlets whose (exists match (regex “MS07-0[4]0-6”)of first 8 of name of it))

this one shows how to pull the matching parts of a regex:

unique values of parenthesized parts 1 of matches (regex “(MS07-0[4]0-6)”) of firsts 8 of names of bes fixlets

-Jesse