企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# F.4 FirstMatchMapper This mapper supports an arbitrary number of nested mappers and returns the results of the first mapper that matches. This is different from composite mapper which collects the results of all matching children. F.4.1 Examples ``` <mapper type="firstmatch"> <mapper type="glob" from="*.txt" to="*.bak"/> <mapper type="glob" from="*.php" to="*.php"/> </mapper> ``` Applying the mapper, you will get the following results from the following filenames: Table F.4:聽Result of mapping FromTo`foo/bar/A.txt``foo/bar/A.bak``foo/bar/A.php``foo/bar/A.php`