in reply to Re^3: code explanation
in thread code explanation

That is a basic regular expression. The instruction basically skips to the next iteration if the name of the element read matches the expression.

This expression is:

It skips the iteration if it finds files or directories with the name "." or "..".