diff --git a/docs/src/reference/docbook/file.xml b/docs/src/reference/docbook/file.xml
index 6c198c643c..cc9e394aa8 100644
--- a/docs/src/reference/docbook/file.xml
+++ b/docs/src/reference/docbook/file.xml
@@ -82,23 +82,30 @@
]]>
Within this namespace you can reduce the FileReadingMessageSource and wrap
it in an inbound Channel Adapter like this:
-
-
- ]]>
+ filename-pattern="test*" />
+
+ ]]>
The first channel adapter is relying on the default filter that just prevents
- duplication, the second is using a custom filter, and the third is using the
- filename-pattern attribute to add a AntPathMatcher
- based filter to the FileReadingMessageSource.
- The file-name-pattern and filter attributes are mutually exclusive, but
- you can use a CompositeFileListFilter to use any combination of filters, including a
- pattern based filter to fit your particular needs.
+ duplication, the second is using a custom filter, the third is using the
+ filename-pattern attribute to add an AntPathMatcher
+ based filter, and the fourth is using the filename-regex attribute to add a
+ regular expression Pattern based filter to the FileReadingMessageSource.
+ The filename-pattern and filename-regex attributes are
+ each mutually exclusive with the regular filter reference attribute. However,
+ you can use the filter attribute to reference an instance of
+ CompositeFileListFilter that combines any number of filters, including one
+ or more pattern based filters to fit your particular needs.
When multiple processes are reading from the same directory it can be desirable to lock files to prevent