String simple patternmatch

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Schema

String processing patternmatch.png


Operations

  • Do a pattern match as used in the unix filename match algorithm.
  • Use the following meta characters in matchPattern:
   *       to match any string 
   #       to match any character.
   [...]   to match a set of characters.
   \       as escape character
  • Lower/uppercase are considered different.
  • Send the input string to either the yes- or the no-output.

Notice: this is not the same as the regex match, which provides many more features.



Back to Standard Library.
Previous: String [ Caseless Compare? ]
Next: String [ Regular Expression Match? ]


Meine Werkzeuge