Hisoka-X commented on code in PR #7890:
URL: https://github.com/apache/seatunnel/pull/7890#discussion_r1815935847


##########
docs/en/connector-v2/source/LocalFile.md:
##########
@@ -254,6 +254,12 @@ Specifies Whether to process data using the tag attribute 
format.
 
 Filter pattern, which used for filtering files.
 
+The filtering format is similar to wildcard matching file names in Linux.
+
+However, it should be noted that unlike Linux wildcard characters, when 
encountering file suffixes, the middle dot cannot be omitted.
+
+For example, `abc20241022.csv`, the normal Linux wildcard `abc*` is 
sufficient, but here we need to use `abc*.*` , Pay attention to a point in the 
middle.

Review Comment:
   Yes, we can add some demo, but we should tell user what rules we follow at 
first. Please go ahead and add some demo. For example:
   ```
   File Structure Example:
   /project/documents/report.txt
   /project/documents/notes.txt
   /project/data/input.csv
   /project/data/processed/output.csv
   /project/data/archive/old_data.csv
   /project/images/logo.png
   /project/scripts/script.sh
   /project/scripts/utils/helpers.sh
   
   Matching Rules Example:
   Example 1: Match all .txt files
   Regular Expression:
   .*/.*\.txt$
   
   Example 2:
   
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to