vipsi - the friendly vip script interpreter

Functions

Numeric functions

match

<number> = Numeric functions: matchmatch ( <text>, <pattern> )
<number> = Numeric functions: matchmatch ( <text>, <pattern>, <number> )

Test whether Flow control: if … then
Flow control: try … then
the
Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
Numeric functions: matchmatches Flow control: if … then
Flow control: try … then
the
pattern, which must be a Glossary: text, text_valtext value too.

Flow control: returnReturns a boolean Glossary: Valuevalue: 0 (no) Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
1 (yes).

Flow control: if … then
Flow control: try … then
The
optional dir: flagsflag consists of 4 bits:

1 = enable backslash escaping
2 = directory Separatorsseparators must Numeric functions: matchmatch directly
4 = initial Operators: Named Item Selector "."dot in each Text functions: file
Instructions: file
file
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
directory must Numeric functions: matchmatch directly 8 = Operators: Comparisons > < >= <= != ==compare case-insensitive

Valid HTML   Valid CSS