Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicate usage of the re2 regex engine in the .airflowignore documentation. #35663

Merged
merged 5 commits into from
Nov 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/apache-airflow/core-concepts/dags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 ``/``
Expand Down