Searching for labels with hyphens in them

Steve Loft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2013

I have labels of the form word1-word2-word3 on my pages, and I want to search for them.

Using labelText:word1* as a search term finds those starting with word1, but labelText:word1\-* (escaping the hyphen) finds nothing.

I would like to do a search for labels starting with word1 and ending with word3, but labelText word1*word3 finds nothing. This works OK for labels without hyphens in them.

This is in Confluence 5. Any suggestions, please?

1 answer

2 votes
Steve Loft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2013

I realised this affects searches in general and not just labels. It seems this has been broken for a very long time: https://jira.atlassian.com/browse/CONF-3036

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events