The <filename> tag acts like the <include>
and <exclude> tags within a fileset. By using a selector instead,
however, one can combine it with all the other selectors using whatever selector
container is desired.
<fileset dir="${src}" includes="**/*">
<filename name="**/*.php">
</fileset>
Table G.6: Attributes for the <filename> selector
| Name | Description | Default | Required |
|---|---|---|---|
name | The name of files to select. The name parameter can contain the standard Phing wildcard characters. | n/a | Exactly one of the two |
regex | The regular expression matching files to select. | n/a | |
casesensitive | Whether to pay attention to case when looking at file names. | true | No |
negate | Whether to reverse the effects of this filename selection, therefore emulating an exclude rather than include tag. | false | No |