java.lang.Object
javax0.jamal.extensions.Regex.ReplaceAll
- All Implemented Interfaces:
javax0.jamal.api.Identified
,javax0.jamal.api.Macro
,javax0.jamal.api.ServiceLoaded
- Enclosing class:
- Regex
public static class Regex.ReplaceAll extends Object implements javax0.jamal.api.Macro
This macro splits the input into three parts using
InputHandler.getParts(Input)
and then returns
part[0].replaceAll(part[2], part[3])}-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ReplaceAll()
-
Method Summary
-
Constructor Details
-
ReplaceAll
public ReplaceAll()
-
-
Method Details
-
evaluate
public String evaluate(javax0.jamal.api.Input in, javax0.jamal.api.Processor processor) throws javax0.jamal.api.BadSyntax- Specified by:
evaluate
in interfacejavax0.jamal.api.Macro
- Throws:
javax0.jamal.api.BadSyntax
-
getId
- Specified by:
getId
in interfacejavax0.jamal.api.Identified
- Specified by:
getId
in interfacejavax0.jamal.api.Macro
-