shawn Posted September 13, 2011 Report Share Posted September 13, 2011 I think what he's really after is a way to identify a link based on the anchor text, not a URL fragment. This should work: href="([^"]+)"[^>]*>.+?known_part_here.+?</a> Link to comment Share on other sites More sharing options...
UksusoFF Posted October 14, 2011 Report Share Posted October 14, 2011 shawn, thanks Link to comment Share on other sites More sharing options...
Guest Lord Necron Posted March 2, 2012 Report Share Posted March 2, 2012 @Omniferum Thank you, thank you, THANK YOU! Link to comment Share on other sites More sharing options...
shawn Posted October 13, 2014 Report Share Posted October 13, 2014 I've found a few apps recently that require the dot-release for the download path, but the version number is displayed with ".0" if, and only if, it's the initial release. To get around this I'm using a versionstub variable which captures the initial version (such as "12") and then a regex to check if it's ONLY numbers and appends .0 to it if necessary. Here's the code: {versionstub:regexreplace:^(\d+)$:$1.0} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now