Groovy web console

subscribe to the feed Subscribe
to this
site

groovy match

Published 1 month ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
file = "cv-api/README.md"
module = "cv-api"

println(file.matches(module))
println(file.matches("^${module}.*"))