uranusjr commented on PR #23870:
URL: https://github.com/apache/airflow/pull/23870#issuecomment-1170896825

   I wonder if it’s even viable to automatically detect whether the passed 
value is regex. DAG IDs can only contain a very limited set of characters, and 
the only character that has special meanings is `.`, which is not that useful 
on its own either. So we _could_ try to detect whether the user input looks 
like a regex, and eliminate the need of `--treat-dag-as-regex` (or whatever) 
most of the time. Of course, we can still keep the flag for explicitness.


-- 
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