package devkit
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242
doc/devkit.ocamlnet_lite/Ocamlnet_lite/Netstring_str/index.html
Module Ocamlnet_lite.Netstring_strSource
The type of regular expressions
The type of matching results
Searches a match of the string with the regexp, starting at * the position and in forward direction. * Raises Not_found if no match could be found. * Returns (p,r) when a match at position p is found, * described by r.
Returns a regexp (as string) that matches any of the characters in the argument. The argument must be non-empty
Extracts the matched part from the string. The string argument * must be the same string passed to string_match or the search * functions, and the result argument must be the corresponding * result.
Extracts the substring the nth group matches from the whole * string. The string argument * must be the same string passed to string_match or the search * functions, and the result argument must be the corresponding * result.
Like split_delim, but returns the delimiters in the result
global_substitute re subst s: Applies the substitution function * subst to all matchings of re in s, and returns the * transformed string. subst is called with the current result * of the match and the whole string s.