Skip to content

Commit 8aad5b2

Browse files
mzaffalonMichele Zaffalon
andauthored
Strip CR before pattern matching end (#522)
Co-authored-by: Michele Zaffalon <michele.zaffalon@bruker.com>
1 parent 8bbaf03 commit 8aad5b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function single_example_file(filename::String)
4545
joinpath(THIS_DIR, "..", "examples", filename),
4646
"r"
4747
)
48-
all_lines = split(fulltext, "\n")
48+
all_lines = strip.(split(fulltext, '\n'), '\r')
4949
l = 1
5050
regex = r"^function ([^_].+?)\("
5151
regex_end = r"^end$"

0 commit comments

Comments
 (0)