OpenVAS Libraries
9.0.1
|
Go to the source code of this file.
Functions | |
tree_cell * | nasl_string (lex_ctxt *) |
tree_cell * | nasl_rawstring (lex_ctxt *) |
tree_cell * | nasl_strlen (lex_ctxt *) |
tree_cell * | nasl_strcat (lex_ctxt *) |
tree_cell * | nasl_display (lex_ctxt *) |
tree_cell * | nasl_hex (lex_ctxt *) |
tree_cell * | nasl_hexstr (lex_ctxt *) |
tree_cell * | nasl_ord (lex_ctxt *) |
tree_cell * | nasl_tolower (lex_ctxt *) |
tree_cell * | nasl_toupper (lex_ctxt *) |
tree_cell * | nasl_ereg (lex_ctxt *) |
tree_cell * | nasl_eregmatch (lex_ctxt *) |
Does extended regular expression pattern matching. More... | |
tree_cell * | nasl_ereg_replace (lex_ctxt *) |
tree_cell * | nasl_egrep (lex_ctxt *) |
tree_cell * | nasl_match (lex_ctxt *) |
tree_cell * | nasl_split (lex_ctxt *) |
tree_cell * | nasl_chomp (lex_ctxt *) |
tree_cell * | nasl_substr (lex_ctxt *) |
tree_cell * | nasl_insstr (lex_ctxt *) |
tree_cell * | nasl_strstr (lex_ctxt *) |
tree_cell * | nasl_crap (lex_ctxt *) |
tree_cell * | nasl_int (lex_ctxt *) |
tree_cell * | nasl_stridx (lex_ctxt *) |
Returns index of a substring. More... | |
tree_cell * | nasl_str_replace (lex_ctxt *) |
Does extended regular expression pattern matching.
In NASL, this function returns an array.
Syntax: insstr(s1, s2, i1, i2) or insstr(s1, s2, i1) Insert string s2 into slice [i1:i2] of string s1 and returns the result Warning: returns a CONST_DATA!
str_replace(string: s, find: f, replace: r [,count: n])
Returns index of a substring.
Returning NULL for "not found" is dangerous as automatic conversion to to integer would change it into 0. So we return (-1).
Syntax: substr(s, i1) or substr(s, i1, i2) Returns character from string s starting for position i1 till the end or position i2 (start of string is 0)