Full Library / Math Operator / String Operation / StringMatches
Block Name: StringMatches
- public class StringMatches
- extends VisualSim.actor.TypedAtomicActor
Pattern match a string to a regular expression and output a true if it matches and a false if it does not. For a reference on regular expression syntax see: http://java.sun.com/docs/books/tutorial/extra/regex/index.html.
matchString
public VisualSim.actor.parameters.PortParameter matchString
- The string to be pattern matched to the regular expression.
output
public VisualSim.actor.TypedIOPort output
- Output is true if the pattern exists in the string, false otherwise. Its type is boolean.
pattern
public VisualSim.actor.parameters.PortParameter pattern
- The regular expression to be pattern matched with the matchString string. Its default parameter is an empty string that matches no strings.
Created with the Personal Edition of HelpNDoc: Free EPub producer