I am trying to capture the name of directory after a poetry install for later use cause I need to build a path for a community.general.sefcontext command.
The YkNvIedi in the path below is created at install. I have no idea what it is going to be beforehand but I need to capture it.
The ^ matches the start, [a-zA-Z] matches upper and lower case letters and {1,12} is between 1 and 12 of them, if it is always going to be 8 letter long use {8}, [0-9.]{3,5}$ matches between 3 and 5 numbers and dots and the end of the string.