Skip to content

Commit 6eea345

Browse files
authored
Fix undefined reference (#8)
1 parent 94b3978 commit 6eea345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regex.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ function PCRE.exec(re, subject::DenseStringViewAndSub, offset, options, match_da
112112
(Ptr{Cvoid}, Ptr{UInt8}, Csize_t, Csize_t, UInt32, Ptr{Cvoid}, Ptr{Cvoid}),
113113
re, subject, ncodeunits(subject), offset, options, match_data, PCRE.get_local_match_context())
114114
# rc == -1 means no match, -2 means partial match.
115-
rc < -2 && error("PCRE.exec error: $(err_message(rc))")
115+
rc < -2 && error("PCRE.exec error: $(PCRE.err_message(rc))")
116116
return rc >= 0
117117
end

0 commit comments

Comments
 (0)