Feature #308
Study() function for RegExp
Status: | Approved | Start date: | 07/04/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Jan Dolinár | % Done: | 100% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
Hi,
I'd like to add new method to RegExp in plugin/pcre. The main reason is to allow better performance in some scenarios. From pcre manual:
spending more time analyzing it in order to speed up the time taken forIf a compiled pattern is going to be used several times, it is worth
matching. The function pcre_study() takes a pointer to a compiled pat-
tern as its first argument. If studying the pattern produces additional
information that will help speed up matching, pcre_study() returns a
pointer to a pcre_extra block, in which the study_data field points to
the results of the study.
Please apply or grant me access to that part of sources ;-)
History
#1 Updated by Miroslav Fidler almost 13 years ago
- Status changed from Patch ready to Ready for QA
- Assignee changed from Miroslav Fidler to Jan Dolinár
#2 Updated by Jan Dolinár almost 13 years ago
- Status changed from Ready for QA to Approved