Showing posts with label regex. Show all posts
Showing posts with label regex. Show all posts

November 12, 2020

RegEx Greedy Trap

I have stumbled upon a regular expression trap - so called greedy (or ungreedy) trap. In short, in regex the ungreedy operator does not mean the shortest possible match
I explain here the problem description where I have faced it and workaround I came to use.