简体   繁体   中英

What does ** mean in Phing?

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

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

I'm having a hard time deciphering what this really means. Can somebody please translate this into English?

** matches any character while * matches anything except for a directory separator.

For example, /path/** will match either of these:

  • /path/file
  • /path/to/some/file
  • /path/to/some/other/file

However, /path/* will only match the first one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM