Uses regular expressions to perform filename transformations.
| author | Andreas Aderhold |
|---|---|
| author | Hans Lellelid |
| version | $Id$ |
| package | phing.mappers |
__construct()
main(mixed $sourceFileName) : array
mixedThe data the mapper works on.
arrayThe data after the mapper has been applied; must be in array format (for some reason).setFrom(string $from) : void
Required.
stringOn what this mapper should work
setTo(string $to) : void
Required.
stringTo what this mapper should convert the from string
replaceReferences(string $source)
groups of the source.
stringThe source filename.
$reg : \Regexp
$to : string