Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
FilterPlugin | ||||||||
Line: 132 to 132 | ||||||||
EXTRACT Example 1: convert table into textOne of the uses of this plugin is to extract data from tables, which is useful for creating "database-like" wiki applications where data is stored in foswiki tables. While it is certainly possible to do that without this plugin the plugin makes these requests easier to create and maintain. Note, however, that best practice is to store database-like | ||||||||
Changed: | ||||||||
< < | information using DataForms, so that you don't need to parse the format of the data to extract its records repeatedly. | |||||||
> > | information using DataForms?, so that you don't need to parse the format of the data to extract its records repeatedly. | |||||||
The table:
|
Line: 1 to 1 | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Changed: | |||||||||||||||||||||
< < |
<-- PLEASE DO NOT EDIT THIS TOPIC It is automatically generated from the subversion repository, and any changes you make will simply be overwritten the next time a release is generated. Instead, you could check your fix in, raise a bug in the Bugs web, or mail the author. --> FilterPlugin | ||||||||||||||||||||
> > |
FilterPlugin | ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > | |||||||||||||||||||||
DescriptionThis plugin allows to substitute and extract information from content by using regular expressions. There are three different types of new functions: | |||||||||||||||||||||
Line: 84 to 68 | |||||||||||||||||||||
| |||||||||||||||||||||
Added: | |||||||||||||||||||||
> > |
| ||||||||||||||||||||
| |||||||||||||||||||||
Added: | |||||||||||||||||||||
> > |
| ||||||||||||||||||||
| |||||||||||||||||||||
Added: | |||||||||||||||||||||
> > |
| ||||||||||||||||||||
| |||||||||||||||||||||
Line: 100 to 87 | |||||||||||||||||||||
| |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > |
| ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
The pattern string shall group matching substrings in the list item to which you can refer to by
using $1, $2, ... in the format string. Any format string (format , header , footer ) may
contain variables $percnt$ , $nop , $dollar and $n . The variable
$index referse to the position number within the list being formatted; using $count in the
footer or header argument refers to the total number of list elements; $marker is set if
the selection regular expression matches the current item. The $map(key) macro returns the value for "key"
as specified in the map argument. | ||||||||||||||||||||
> > |
The pattern string shall group matching substrings in the list item to which
you can refer to by using $1, $2, ... in the format string. Any format string
(format , header , footer ) may contain variables $percnt$ , $nop ,
$dollar and $n . The variable $index referse to the position number within
the list being formatted; $count refers to the total number of matched list
elementsr;=$marker= is set if the selection regular expression matches the
current item. The $map(key) macro returns the value for "key" as specified in
the map argument. | ||||||||||||||||||||
MAKEINDEXSyntax:%MAKEINDEX{"<list>" ...}% | |||||||||||||||||||||
Line: 263 to 252 | |||||||||||||||||||||
| |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > |
| ||||||||||||||||||||
| |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > |
| ||||||||||||||||||||
| |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > |
| ||||||||||||||||||||
tokenize pattern for FORMATLIST; | |||||||||||||||||||||
Line: 303 to 305 | |||||||||||||||||||||
| |||||||||||||||||||||
Deleted: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
| |||||||||||||||||||||
Deleted: | |||||||||||||||||||||
< < |
|