Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
glib-2.0
GLib
Regex
check_replacement
escape_string
match_simple
split_simple
Regex
get_capture_count
get_compile_flags
get_match_flags
get_max_backref
get_pattern
get_string_number
match
match_all
match_all_full
match_full
replace
replace_eval
replace_literal
split
split_full
get_string_number
Description:
public
int
get_string_number
(
string
name)
Retrieves the number of the subexpression named name.
Parameters:
regex
GRegex structure
name
name of the subexpression
Returns:
The number of the subexpression or -1 if name does not exists