yzeng1618 commented on PR #9380: URL: https://github.com/apache/seatunnel/pull/9380#issuecomment-2933308920
> I think we need to add a option to mark whether the TablePath is a regular expression. 1、Simplified Path Matching Design,If you enter a path like /project/table_123, the system first checks for this exact path,If no exact match exists, it automatically treats your input as a regex pattern. The main advantages are as follows: - Zero configuration: There is no need for marking parameters like "is_regex", and users don't have to switch modes manually. Just enter the input and it will be matched, reducing the cognitive burden. - Intuitive behavior: It follows a logic similar to that of the grep tool, First, perform a literal match, and then enable pattern matching. 2、Like Flink CDC (where you directly use exact table names OR regex patterns without special parameters), we keep things simple. -- 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]
