Valadoc
|
Vala
|
Mailing-List
|
Language
|
Tutorials
|
References
|
Valadoc markup
|
Contact
Packages
glib-2.0
GLib
Regex
check_replacement
escape_string
match_simple
split_simple
Regex
get_capture_count
get_max_backref
get_pattern
get_string_number
match
match_all
match_all_full
match_full
replace
replace_eval
replace_literal
split
split_full
Regex
Object Hierarchy:
Description:
public
class
Regex
Namespace:
GLib
Package:
glib-2.0
Content:
Static methods:
public
static
string
escape_string
(
string
str,
int
length = -1)
public
static
bool
match_simple
(
string
pattern,
string
str,
RegexCompileFlags
compile_options = 0,
RegexMatchFlags
match_options = 0)
public
static
string
[]
split_simple
(
string
pattern,
string
str,
RegexCompileFlags
compile_options = 0,
RegexMatchFlags
match_options = 0)
public
static
bool
check_replacement
(
out
bool
has_references = null)
throws
RegexError
Creation methods:
public
Regex
(
string
pattern,
RegexCompileFlags
compile_options = 0,
RegexMatchFlags
match_options = 0)
throws
RegexError
Methods:
public
unowned
string
get_pattern
()
public
int
get_max_backref
()
public
int
get_capture_count
()
public
int
get_string_number
(
string
name)
public
bool
match
(
string
str,
RegexMatchFlags
match_options = 0,
out
MatchInfo
match_info = null)
public
bool
match_full
(
string
str,
ssize_t
string_len = -1,
int
start_position = 0,
RegexMatchFlags
match_options = 0,
out
MatchInfo
match_info = null)
throws
RegexError
public
bool
match_all
(
string
str,
RegexMatchFlags
match_options = 0,
out
MatchInfo
match_info = null)
public
bool
match_all_full
(
string
str,
ssize_t
string_len = -1,
int
start_position = 0,
RegexMatchFlags
match_options = 0,
out
MatchInfo
match_info = null)
throws
RegexError
public
string
[]
split
(
string
str,
RegexMatchFlags
match_options = 0)
public
string
[]
split_full
(
string
str,
ssize_t
string_len = -1,
int
start_position = 0,
RegexMatchFlags
match_options = 0,
int
max_tokens = 0)
throws
RegexError
public
string
replace
(
string
str,
ssize_t
string_len,
int
start_position,
string
replacement,
RegexMatchFlags
match_options = 0)
throws
RegexError
public
string
replace_literal
(
string
str,
ssize_t
string_len,
int
start_position,
string
replacement,
RegexMatchFlags
match_options = 0)
throws
RegexError
public
string
replace_eval
(
string
str,
ssize_t
string_len,
int
start_position,
RegexMatchFlags
match_options = 0,
RegexEvalCallback
eval)
throws
RegexError
Generated by Valadoc