Regex to the rescue

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 ( . ).

Written on July 28, 2016