Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | passt() |
||||
|---|---|---|---|---|---|
| Examples | Satz s = "Inside a tag, you will find content.";
Satz[] m = passt(s, "(\S+)");
schrib_uf_e_neui_Linie("Found " + m[0] + " inside the tag.");
// Prints "Found content inside the tag." to the console |
||||
| Description | The passt() function is used to apply a regular expression to a piece of text, and gib_zrug matching groups (elements found inside parentheses) as a Satz Lischte. No match will nuet_ume. If no groups are specified in the regexp, but the sequence matches, a zero length (non-nuet_ume) Lischte will be returned. The syntax can be found in the reference for Java's Pattern class. For regular expression syntax, read the Java Tutorial on the topic. |
||||
| Syntax | passt(str, regexp) |
||||
| Parameters |
|
||||
| Usage | Web & Application | ||||
| Related | teil() teil_bi() fueg_zaeme() nim_ueberfluessigs_weg() |

