kevinlekiller / reshade-steam-proton

Easy setup and updating of ReShade on Linux for games using wine or proton.
GNU General Public License v2.0
361 stars 19 forks source link

fixed regex #31

Closed manjaroman2 closed 1 year ago

kevinlekiller commented 1 year ago

I tried the old regex, it works fine?

curl -sL https://reshade.me | grep -Po "/downloads/ReShade_Setup_[\d.]+_Addon\.exe"
/downloads/ReShade_Setup_5.7.0_Addon.exe

[\d.]+ matches 0 to 9 or the literal dot one or more times.

(\d.)+ matches 0 to 9 followed by any other character one or more times.