Skip to content

Commit a07432e

Browse files
regex error
1 parent cdcc0f5 commit a07432e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/postprocess_doxygen_xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def insert_example_code_from_file(combined_content):
2222
els = combined_content.doxygen.find_all("programlisting")
2323
all_examples = {}
2424
# get the examples path
25-
examples_path = re.sub(r"/scripts/.*+$", "/lib/pico-examples", os.path.realpath(__file__))
25+
examples_path = re.sub(r"/scripts/.+$", "/lib/pico-examples", os.path.realpath(__file__))
2626
# get a recursive list of all files in examples
2727
for f in os.walk(examples_path):
2828
for filename in f[2]:

0 commit comments

Comments
 (0)