Difference between revisions of "RegexSplitStage"
From CCIL
Line 11: | Line 11: | ||
| string or regex to use when splitting input. | | string or regex to use when splitting input. | ||
|} | |} | ||
+ | |||
+ | === Context === | ||
+ | |||
+ | <pre> | ||
+ | SPLIT_WORDS = split-regex | ||
+ | SPLIT_WORDS.separator = \w | ||
+ | SPLIT_WORDS.mode = split | ||
+ | SPLIT_WORDS.input = content | ||
+ | SPLIT_WORDS.output = words | ||
+ | </pre> | ||
=== Registration === | === Registration === |
Revision as of 16:03, 14 May 2017
Parameters
Name | Description |
---|---|
mode | split or join |
separator | string or regex to use when splitting input. |
Context
SPLIT_WORDS = split-regex SPLIT_WORDS.separator = \w SPLIT_WORDS.mode = split SPLIT_WORDS.input = content SPLIT_WORDS.output = words
Registration
service:split-regex rdf:type entity:service ; entity:implementation "net.ccil.common.split.server.RegexSplitStage" ; entity:classpath "" ; entity:arguments "" .