google.appengine.api.appinfo.DEFAULT_SKIP_FILES contain:
^(.*/)?((#.*#)|(.*~)|(.*\.py[co])|(.*/RCS/.*)|(\..*)|)$
Is that regex corrent?
It seems it doesn’t match RCS/index.txt because of the first slash in (.*/RCS/.*).
And what is the meaning of the last pipe character in the regex?
You are right about the regex doesn’t match the string
RCS/index.txtbecause of the first slash.Last pipe makes an empty alternative and causes to make the group optional. So, following two are equivalent: