<commit_before>include ../../Library/GNU.mk

Title=		PCRE
Name=		pcre
Version=	8.34
Revision=	0
Site=		http://www.pcre.org/
#URL=		ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
URL=		http://downloads.sourceforge.net/pcre
Source=		$(Name)-$(Version).tar.bz2
Checksum=	e02257272c2c554b14bee723158d46da2b1ad72a
License=	BSD

LicenseFile=	$(SourceDir)/LICENCE

GnuConfigureExtra += --enable-utf
GnuConfigureExtra += --enable-unicode-properties
GnuConfigureExtra += --enable-pcregrep-libz
GnuConfigureExtra += --enable-pcregrep-libbz2

define test_inner_hook
$(BinDir)/pcre-config --version | grep $(Version)
$(BinDir)/pcregrep Version Makefile
endef<commit_msg>pcre: Update to version 8.35.<commit_after>include ../../Library/GNU.mk

Description=	Perl Compatible Regular Expressions library
Title=		PCRE
Name=		pcre
Version=	8.35
Revision=	0
Site=		http://www.pcre.org/
#URL=		ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
URL=		http://downloads.sourceforge.net/pcre
Source=		$(Name)-$(Version).tar.bz2
Checksum=	a10e0040475644bfc97f7d0c0556988acfc52c6f
License=	BSD

LicenseFile=	$(SourceDir)/LICENCE

GnuConfigureExtra += --enable-jit
GnuConfigureExtra += --enable-utf
GnuConfigureExtra += --enable-unicode-properties
GnuConfigureExtra += --enable-pcregrep-libz
GnuConfigureExtra += --enable-pcregrep-libbz2
GnuConfigureExtra += --enable-pcretest-libedit

define test_inner_hook
$(BinDir)/pcre-config --version | grep $(Version)
$(BinDir)/pcregrep $(Version) Makefile
endef
{'fraction_non_alphanumeric': 0.145063801208865, 'fraction_numerical': 0.04499664204163868, 'mean_word_length': 5.056910569105691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6157372', 'n_tokens_mistral': 629, 'n_tokens_neox': 575, 'n_words': 97}