RedPajama-Data icon indicating copy to clipboard operation
RedPajama-Data copied to clipboard

Corrected matching and grouping pattern

Open hiteshbedre opened this issue 3 years ago • 0 comments

A question mark symbol (?) specifies an expression to its left for 0 (Zero) or 1 (one)times. Appending it after quantifier wont add any value to the match or group. I have also done a basic sanity by removing unnecessary quantifier here: https://regex101.com/r/fBzx8J/1

hiteshbedre avatar Apr 19 '23 20:04 hiteshbedre