How do I extend a regular expression to exclude all files in a folder?

前端 未结 3 1407
天命终不由人
天命终不由人 2021-02-07 20:37

In the app.yaml file of my Google App Engine project there is a skip_files section used to exclude files of given types from being uploaded. How do I extend this regular express

3条回答
  •  死守一世寂寞
    2021-02-07 21:21

    my app.yaml looks like this:

    skip_files:
    - ^(.*/)?#.*#
    - ^(.*/)?.*~
    - ^(.*/)?.*\.py[co]
    - ^(.*/)?.*/RCS/.*
    - ^(.*/)?\..*
    - ^(statistics/.*)
    - ^(unittests/.*)
    - ^(webtests/.*)
    

提交回复
热议问题