//lets see how to use regex in groovy. //==~ is the pattern matcher. //results in java.util.regex.Matcher instance. def finder = ('groovy' =~ /gr.*/).
確定! 回上一頁