Groovy web console

subscribe to the feed Subscribe
to this
site
pattern match (via #groovywebconsole)
tweet this snippet Tweet
this
script

pattern match

Published 1 month ago by Ram with tags addon single version
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def addonVersion = 'ARBCI00000'
if (addonVersion =~ /[^\/ARBCI]*[0,1,2,3,4]/) {
    println addonVersion 
} else {
    println "ARBCI00005"
}