Skip to content
This repository has been archived by the owner on Sep 1, 2018. It is now read-only.

regexp version type

guiweber edited this page Jul 20, 2016 · 3 revisions

The regexp-version type extracts a version number from the data matched by the regexp filter. The version extraction filters are used to extract the version number from the data. If more than one result if found, the one with the highest version number is kept.

"x86":{
  "rule_type": "regexp-version",
  "filter": "MYAPP_VERSION = '[0-9]*(?:\\.[0-9]*)*[a-z]?';",
  "baselink": "https://myappserver.net/{{.version}}/myapp_{{.version}}_setup.exe"
}
Clone this wiki locally