Skip to content

Commit da6e570

Browse files
committed
fix comment
1 parent 2af457e commit da6e570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ fn regexp_replace(
176176

177177
#[pyfunction]
178178
#[pyo3(signature = (string, pattern, start, flags=None))]
179-
/// Replaces substring(s) matching a POSIX regular expression.
179+
/// Returns the number of matches found in the string.
180180
fn regexp_count(
181181
string: PyExpr,
182182
pattern: PyExpr,

0 commit comments

Comments
 (0)