Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » RegExp this'n that (RegExp update)
Re: RegExp this'n that [message #47199 is a reply to message #47181] Wed, 28 December 2016 17:05 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
luoganda wrote on Sun, 25 December 2016 18:02
Although previous post describes optimal solution,
note that 'pcre_max_stack_offsets'(ifUsed) must be defined in two places to work,
it won't work if you just define it in pcre package.

Default 30 value still doesn't work correctly,
setting this to 33 does - i am not sure why, maybe it has something to do with two 1st values used in lib.

So updated optimal solution for now is:
-setting default pos[33] in RegExp.h and REC_STACK_SAVE_MAX=33
-allow user to modify this with pcre_max_stack_offsets: should be >=33 and mutiple of 3


Uhm, anything that I should apply to plugin/pcre?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Incorrect SHA1 checksum for files 4GB+
Next Topic: ONE and assignement
Goto Forum:
  


Current Time: Wed May 08 01:27:56 CEST 2024

Total time taken to generate the page: 0.02985 seconds