Regex to the rescue

Posted on: Thu, 07/28/2016 - 12:28 By: h

In Spring Tool Suite, refactoring a package name will look for every possible file name, including hidden files. That usually causes hangups on the file search. 
The solution is to use the following regular expression to skip the files starts with a dot.

^[^.].*$
The regex reads anything that does not start with a period ( . ).