All for adding that: Very helpful, does not break any existing code, should be 
faster than any regex based solution (and be honest: Who wouldn't wrap the 
regex solution in a helper method if used more than 2x in the code, using a 
substring based solution along the way... ?-) ).
-------- Ursprüngliche Nachricht --------Von: "Daniel.Sun" <sun...@apache.org> 
Datum: 31.12.17  13:59  (GMT+01:00) An: d...@groovy.incubator.apache.org 
Betreff: Re: About adding DGM startsWith(String...) and endsWith(String...) 
Yeah, you are right, but `it.file.name =~ /^(?:asm|antlr|antlr4)-/` is not
very intuitive IMHO.

Cheers,
Daniel.Sun



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to