Groovy web console

subscribe to the feed Subscribe
to this
site

regex

Published 2 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
if ('NNNN' ==~ /^(Y|N|0){4}/) {
    print 'ok'
}