regex and docmentation update

This commit is contained in:
Aparna Jyothi 2025-05-30 14:48:13 +05:30
commit 448250764a
5 changed files with 11 additions and 4 deletions

View file

@ -617,3 +617,11 @@ versions with specified distribution: openjdk64-11.0.2
LTS versions : temurin-21.0.5+11.0.LTS
```
If the file contains multiple versions, only the first one will be recognized.
```
Note:
In some complex version strings containing multiple version-like segments (e.g., java semeru-openj9-11.0.15+10_openj9-0.32.0),
the regular expression may extract the last version segment (0.32.0) instead of the intended main version (11.0.15+10).
Additionally, the regex is designed to support standard semantic versioning (semver) formats
and may not correctly parse non-standard formats such as jetbrains-21b212.1.
Users are encouraged to provide clear, semver-compliant version specifications to ensure accurate extraction.
```