At the moment the regex just looks for any build and a href to a mac download link, but after downloading the website with curl there are no newlines and the match is found over multiple lines. Therefore instead of looking for the starting point and end point with infinite characters in between, it now does look for the two points but only allows a finite number of characters to really only find a MacOS release.
At the moment the regex just looks for any build and a href to a mac download link, but after downloading the website with curl there are no newlines and the match is found over multiple lines. Therefore instead of looking for the starting point and end point with infinite characters in between, it now does look for the two points but only allows a finite number of characters to really only find a MacOS release.