|
Content with label faq in Groovy (See content from all spaces)
Related Labels:
regexp
FAQ - RegExp
RegExp matcher.maches() returns false Why this code fails ? def matcher = "/home/me/script/test.groovy" = /\.groovy/ assert matcher.matches() Because of you think you do something like "Oh dear it contains the word\!", but you're confusing matches ...
|
Runtime vs Compile time, Static vs Dynamic
Runtime vs Compile time, Static vs Dynamic I misspelled a method call, but it sill compiled. What gives? Take this simple script as an example: class Greet { def salute( person ) { println "Hello $ !" } def welcome( Place ...
|
|
|