U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Tue Jul 21 09:10:48 GMT+2 2026

Total time taken to generate the page: 0.00474 seconds