What does ** mean in Phing?

The Phing User Guide uses the following file filter description **:

"Two asterisks (**) may contain above the" border "of the directory separator."

I find it difficult to determine what this really means. Can someone please translate this into English?

+4
source share
1 answer

** matches any character, and * matches anything other than a directory separator.

For example, /path/** will match one of the following:

  • / path / file
  • / path / to / some / file
  • / path / to / some / others / file

However, /path/* will match only one.

+7
source

Source: https://habr.com/ru/post/1302499/


All Articles