ceph-volume: fix regex usage in `set_dmcrypt_no_workqueue`
- Updated the regex pattern to `r'(\d+\.?)+'` to more accurately
capture version numbers.
- Replaced `re.match` with `re.search` to properly match the cryptsetup
version in the output.
- `re.match` only checks for a match at the beginning of the string,
while `re.search` looks for a match anywhere in the string.
This fix ensures that the function correctly retrieves the
cryptsetup version from the output.
Fixes: https://tracker.ceph.com/issues/66393
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
607eb34b2c278566c386efcbf3018629cf08ccfd)