Get your own customer support community
 

Is it possible to filter on a literal string (ignoring metacharacters) using the Reporting Plugin?

I'm using the replace-and-render macro to insert the page name into a text-filter. This works just fine until the page name includes the following characters: '(' or ')'... The text-filter macro uses regular expressions to include results which is great, but I can't find any way of controling the filter to perform a literal string match, ignoring any special meaning that regular expression assigns to certain characters. Example below. I'd be happy to hear about any way to achieve the same result!

{replace-and-render}
{replace-item:%page_title%}{report-info:content:title}{replace-item}
{replace-body}

{report-on}
{report-table:injected=true}
{combining-reporter:matchAll=false}
{local-reporter:content:children|source=Documentation}
{text-sort:content:title}
{collection-filter:data:doc_description|matchItems=any}
{text-filter:reference:value|include=%page_title%}
{collection-filter}
{local-reporter}
{local-reporter:content:children|source=Documentation}
{text-sort:content:title}
{collection-filter:data:doc_keywords|matchItems=any}
{text-filter:reference:value|include=%page_title%}
{collection-filter}
{local-reporter}
{combining-reporter}
{report-column:title=Document}{report-info:content:title|link=true}{report-column}
{report-column:title=Document Description}{report-info:data:doc_description}{report-column}

{report-empty}_No documents found._{report-empty}
{report-table}
{report-on}
{replace-body}
{replace-and-render}
 
sad I’m frustrated
Inappropriate?
1 person has this question

The company marked this question as answered.


User_default_medium