This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 861d31d897 Indicate usage of the re2 regex engine in the 
.airflowignore documentation. (#35663)
861d31d897 is described below

commit 861d31d89789e92c97e066e2b911a1ae3f83a2e6
Author: Gabriel Pettier <gabriel.pett...@gmail.com>
AuthorDate: Mon Nov 20 10:29:37 2023 +0100

    Indicate usage of the re2 regex engine in the .airflowignore documentation. 
(#35663)
    
    * Indicate usage of the re2 regex engine in the .airflowignore 
documentation.
    
    As the engine was changed in !32303, and the feature set of this engine is 
a bit specific, it seems useful to be explicit about it.
    
    * Update docs/apache-airflow/core-concepts/dags.rst
    
    * Update docs/apache-airflow/core-concepts/dags.rst
    
    * Update docs/apache-airflow/core-concepts/dags.rst
    
    Co-authored-by: Tzu-ping Chung <uranu...@gmail.com>
    
    ---------
    
    Co-authored-by: Elad Kalif <45845474+elad...@users.noreply.github.com>
    Co-authored-by: Tzu-ping Chung <uranu...@gmail.com>
---
 docs/apache-airflow/core-concepts/dags.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/apache-airflow/core-concepts/dags.rst 
b/docs/apache-airflow/core-concepts/dags.rst
index 86f4aaad2e..aee35b49e9 100644
--- a/docs/apache-airflow/core-concepts/dags.rst
+++ b/docs/apache-airflow/core-concepts/dags.rst
@@ -802,6 +802,10 @@ match any of the patterns would be ignored (under the 
hood, ``Pattern.search()``
 to match the pattern). Use the ``#`` character to indicate a comment; all 
characters
 on a line following a ``#`` will be ignored.
 
+As with most regexp matching in Airflow, the regexp engine is ``re2``, which 
explicitly
+doesn't support many advanced features, please check its
+`documentation <https://github.com/google/re2/wiki/Syntax>`_ for more 
information.
+
 With the ``glob`` syntax, the patterns work just like those in a 
``.gitignore`` file:
 
 * The ``*`` character will any number of characters, except ``/``

Reply via email to