Ok, I found a solution wrote by user557597. By adding these flags:
#define _REGEX_MAX_STACK_COUNT 200000 #define _REGEX_MAX_COMPLEXITY_COUNT 1000000000L
it extends the stack size and loop count.
best regards