Skip to content

Commit

Permalink
Made the regular expression constraint for plugin versions less restr…
Browse files Browse the repository at this point in the history
…ictive.
  • Loading branch information
pledbrook committed Jan 22, 2011
1 parent 925af52 commit 760cdc1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12,7 +12,7 @@ import org.codehaus.groovy.grails.commons.ConfigurationHolder
class Plugin implements Taggable, Commentable, Rateable {

static final def WIKIS = ['installation','description','faq','screenshots']
static final def VERSION_PATTERN = /^(\d{1,}(\.\d+)*)(-\w*$)?/
static final def VERSION_PATTERN = /^(\d+(?:\.\d+)*)([\.-\w]*)?$/

transient cacheService
transient pluginService
Expand Down

0 comments on commit 760cdc1

Please sign in to comment.