Skip to content

Commit 4a9d934

Browse files
committed
escape . and / in regex
1 parent ad4357d commit 4a9d934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci_set_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def set_docs_to_build(build_doc: bool):
235235
build_doc = True
236236
else:
237237
doc_pattern = re.compile(
238-
r"^(?:.github/workflows/|docs|extmod/ulab|(?:(?:ports/\w+/bindings|shared-bindings)\S+\.c|conf\.py|tools/extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
238+
r"^(?:\.github\/workflows\/|docs|extmod\/ulab|(?:(?:ports\/\w+\/bindings|shared-bindings)\S+\.c|conf\.py|tools\/extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
239239
)
240240
github_workspace = os.environ.get("GITHUB_WORKSPACE") or ""
241241
github_workspace = github_workspace and github_workspace + "/"

0 commit comments

Comments
 (0)