What it does
Find version numbers made of exactly three numeric parts, such as 3.14.2.
How to use it
- Load the example or paste your text.
- Check the counterexample.
- Export the matches.
Verified example
Example
Text "runtime 3.14.2 -> 3.14.7"
\b\d+\.\d+\.\d+\b Result: "3.14.2", "3.14.7"
\b\d+\.\d+\.\d+\b Result: "3.14.2", "3.14.7"
\b\d+\.\d+\.\d+\b Result: "3.14.2", "3.14.7"
\b\d+\.\d+\.\d+\b Result: "3.14.2", "3.14.7"
Counterexample
Text "version 3.14"
\b\d+\.\d+\.\d+\b Result: no match
\b\d+\.\d+\.\d+\b Result: no match
\b\d+\.\d+\.\d+\b Result: no match
\b\d+\.\d+\.\d+\b Result: no match
Recorded by running fixture FX-R08 on : rp.js@1 on Node v24.21.0 (V8), v24.21.0, CPython 3.14.2 (Pyodide 314.0.7), PCRE2 10.48, go1.27.1. JavaScript results come from the rp.js@1 core on Node’s V8; your browser runs the same core.
Engines
- The same pattern runs unchanged in all four engines.
Limits
- Pre-release and build suffixes such as -rc.1 are not included.