Category "pcre"

Regex to match multiple cases

I have the following examples that must match with my regex 1,[] 1,[0,0,0,[]] 1,[0,0,0,0,0,[]] 1,1 1 I came up with a simple way of matching the middle ones wi

Improving the performance of an PCRE Regex Pattern

I have the below regex here which is written to support the PRCE/PRCE2 format. However, this throws the following error “Evaluation takes too long. Please