minus-squareexplore_broaden@midwest.socialtoProgrammer Humor@lemmy.ml•Oh boy what a beautiful regex. I'm sure it does something logical and easy to understand.linkfedilinkarrow-up0·5 days agoYes, the first one matches only 2 more characters while the second matches 1 or more. Also the +? is a lazy quantifier so it will consume as little as possible. linkfedilink
Yes, the first one matches only 2 more characters while the second matches 1 or more. Also the +? is a lazy quantifier so it will consume as little as possible.