CreateRegularExpression(... #PB_RegularExpression_Study)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

CreateRegularExpression(... #PB_RegularExpression_Study)

Post by Sicro »

https://www.pcre.org/pcre.txt wrote:STUDYING A PATTERN

pcre_extra *pcre_study(const pcre *code, int options,
const char **errptr);

If a compiled pattern is going to be used several times, it is worth
spending more time analyzing it in order to speed up the time taken for
matching.
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: CreateRegularExpression(... #PB_RegularExpression_Study)

Post by RSBasic »

+1
Image
Image
Post Reply