>_ IzzyLab

Topic breakdown

Extracting semver versions is grep -oE, where the pattern describes three groups of digits separated by dots. Two key points: the dot . in regex means "any character" by default, so a literal dot separator requires escaping; and each group is a digit class with a greedy "one or more" quantifier, so that two- and three-digit numbers are taken in full rather than torn into parts. It's worth remembering that the pattern matches the start of a string even if a suffix like -rc1 follows — the engine stops where the three numeric groups end.

What's checked

  1. Versions extracted
  2. All versions found

What it looks like