fix docstring regex