Skip to content
tajmone edited this page Feb 19, 2017 · 5 revisions
PureBASIC 5.51
PCRE version: 8.30 (2012-02-04)

PCRE — Perl-Compatible Regular Expressions

External Links

Code Hack: Get PCRE Version

This code displays which version of the PCRE library is used by the current PureBASIC release:

; PureBASIC 5.50 --  Code provided by Fred (Oct 05, 2016): 
; http://www.purebasic.fr/english/viewtopic.php?f=13&t=66707

ImportC ""
  pb_pcre_version(void);
EndImport

regex = CreateRegularExpression(#PB_Any, "")
pcre_version = pb_pcre_version(0)
Debug PeekS(pcre_version, -1, #PB_Ascii)