Skip to content

Commit

Permalink
tools bugfix RegEx
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 8, 2024
1 parent 15d70d9 commit a9ccc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/qtbuild-qmysql-driver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Param(
HelpMessage = 'Specifies the MySQL Server version against which to build ' +
'the QMYSQL driver (version number of the MySQL Server installation folder).')]
[ValidateNotNullOrEmpty()]
[ValidatePattern('^[8-12]\.\d{1,2}\$',
[ValidatePattern('^(?:[8-9]|1[0-2])\.\d{1,2}$',
ErrorMessage = 'The argument "{0}" is not the correct Qt version number. ' +
'The argument "{0}" does not match the "{1}" pattern.')]
[string] $MySQLVersion = '8.4',
Expand Down

0 comments on commit a9ccc19

Please sign in to comment.