Skip to content

Commit ed29193

Browse files
authored
Fix version info for meta header (#43)
1 parent f558c59 commit ed29193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Transport/Requests/MetaData/ReflectionVersionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Elastic.Transport
1111
{
1212
internal sealed class ReflectionVersionInfo : VersionInfo
1313
{
14-
private static readonly Regex VersionRegex = new(@"(\d+\.)(\d+\.)(\d)");
14+
private static readonly Regex VersionRegex = new(@"(\d+\.)(\d+\.)(\d)\-?");
1515

1616
public static readonly ReflectionVersionInfo Empty = new() { Version = new Version(0, 0, 0), IsPrerelease = false };
1717

0 commit comments

Comments
 (0)