add g_regex_escape_nul

The function can be used to let regex compile non-NUL-terminated
strings without redesigning the way the pattern is stored in GRegex
objects and retrieved with g_regex_get_pattern.

https://bugzilla.gnome.org/show_bug.cgi?id=615895
This commit is contained in:
Paolo Bonzini
2010-04-15 08:23:00 +02:00
committed by Matthias Clasen
parent 653c2f701a
commit 5eee90fbbc
5 changed files with 114 additions and 0 deletions

View File

@@ -981,6 +981,7 @@ g_regex_get_string_number
g_regex_get_compile_flags
g_regex_get_match_flags
g_regex_escape_string
g_regex_escape_nul
g_regex_match_simple
g_regex_match
g_regex_match_full