input for Regular Expression to Match For MultiExcerpt-Include is prepopulated with "$action.getMultiexcerptRegex()"

Description

The first time that the MultiExcerpt Admin tool is used, before any value is ever set for the regex, The input for "Regular Expression to Match For MultiExcerpt-Include"
is prepopulated with this: $action.getMultiexcerptRegex()

Once a value is set, and then the value is emptied out, it never renders the velocity variable like that again.

The tool works fine, it is just confusing to the user.

Here is the HTML: <input class="text-field" type="text" name="MULTI_EXCERPT_REGEX" id="irOned" value="$action.getMultiexcerptRegex()">

History:
The input for Regular Expression to Match For MultiExcerpt-Include is for an undocumented feature of MultiExcerpt Include. It allows the inclusion of other macros that are not MultiExcerpt macros.

The regular expression is used to match the type/name of a macro. For example, the Code Block macro name/type is "code" so you could set the regular expression to include Code Block macros with MultiExcerpt Include.

In the MultiExcerpt Include macro instead of using a MultiExcerpt name you would use a colon-delimited set of parameters that match the Code Block macro you want to include. For example, language=java:title=HelloWorldExample.

This could be used to include a Code Block macro from one page in another page.

Freshdesk Tickets

None

Create a Support Ticket

Activity

Show:
Ture Hoefner
January 9, 2020, 7:21 PM

released in version 5.2.19

Ture Hoefner
December 23, 2019, 9:47 PM

The fix for this will be included in MultiExcerpt 5.2.19.

It is only a cosmetic issue, it does not affect functionality.

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Ture Hoefner

Reporter

Ture Hoefner