Add GRegex for regular expression matching. (#50075)

2007-03-15  Marco Barisione <marco@barisione.org>

	Add GRegex for regular expression matching.  (#50075)

	* configure.in: Handle GRegex compilation.

	* glib/gregex.c:
	* glib/gregex.h: Code for GRegex.

	* glib/Makefile.am:
	* glib/makefile.msc.in: Updated makefiles.

	* glib/pcre/*: Internal copy of PCRE.

	* glib/update-pcre/*: Stuff to automatically update the internal PCRE
	to a newer version.

	* tests/regex-test.c:
	* tests/Makefile.am:
	* tests/makefile.msc.in: Add tests for GRegex.

svn path=/trunk/; revision=5408
This commit is contained in:
Marco Barisione
2007-03-15 13:01:31 +00:00
committed by Marco Barisione
parent af8671792d
commit 0196d63975
54 changed files with 26185 additions and 11 deletions

View File

@@ -1,6 +1,12 @@
SUBDIRS=gobject refcount
INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule $(GLIB_DEBUG_FLAGS)
if ENABLE_REGEX
enable_regex = -DENABLE_REGEX
else
enable_regex =
endif
INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule $(GLIB_DEBUG_FLAGS) $(enable_regex)
EFENCE=
@@ -112,7 +118,8 @@ test_programs = \
unicode-encoding \
utf8-validate \
utf8-pointer \
uri-test
uri-test \
regex-test
test_scripts = run-markup-tests.sh run-collate-tests.sh run-bookmark-test.sh
@@ -183,6 +190,7 @@ unicode_collate_LDADD = $(progs_ldadd)
utf8_validate_LDADD = $(progs_ldadd)
utf8_pointer_LDADD = $(progs_ldadd)
uri_test_LDADD = $(progs_ldadd)
regex_test_LDADD = $(progs_ldadd)
lib_LTLIBRARIES = libmoduletestplugin_a.la libmoduletestplugin_b.la

2607
tests/regex-test.c Normal file

File diff suppressed because it is too large Load Diff