File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1036,10 +1036,13 @@ def regexp_instr(
10361036) -> Expr :
10371037 r"""Returns the position of a regular expression match in a string.
10381038
1039- Searches ``values`` for the ``n``-th occurrence of ``regex``, starting at position
1040- ``start`` (the first position is 1). Returns the starting or ending position based
1041- on ``end_position``. Use ``flags`` to control regex behavior and ``sub_expr`` to
1042- return the position of a specific capture group instead of the entire match.
1039+ Args:
1040+ values: Data to search for the regular expression match.
1041+ regex: Regular expression to search for.
1042+ start: Optional position to start the search (the first position is 1).
1043+ n: Optional occurrence of the match to find (the first occurrence is 1).
1044+ flags: Optional regular expression flags to control regex behavior.
1045+ sub_expr: Optionally capture group position instead of the entire match.
10431046
10441047 Examples:
10451048 ---------
You can’t perform that action at this time.
0 commit comments