Skip to content

Documentation for ** in pybabel configs is misleading/confusing #286

Open
@ENuge

Description

Specifically this line: "In addition, two subsequent asterisk characters (**) can be used to make the wildcard match any directory level, so the pattern **.txt matches any file with the extension .txt in any directory.", from http://babel.pocoo.org/docs/messages/#extraction-method-mapping-and-configuration .

We had an ignore rule: [ignore: **.*.py] that, based on the above, should match any file with the pattern .*.py in any directory. That does not seem to be the case: it doesn't match that pattern anywhere. Without digging into the code, it's difficult to tell if the documentation is misleading or the implementation of ** has issues. Feel free to edit title/description to whatever is most accurate.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions