Ticket #614 (new feature)

Opened 11 years ago

regex in conditional format statement

Reported by: kjdon Owned by: nobody
Priority: moderate Milestone: Greenstone 2 wishlist
Component: Greenstone2 Runtime Severity: enhancement
Keywords: Cc:


Can we implement regex matching in format statements?

See  http://wiki.greenstone.org/wiki/index.php/How_to_format_the_output_of_your_collection#Conditional_expressions_in_formatstrings

Needs a matches operator.

A bit tricky as we are doing to operations on text_t so would need to implement regex for text_t.

Note: See TracTickets for help on using tickets.