🔵 🔵 🔵


Primary

၊၊||၊|။

re.search() ⚬|Documentation|1st|20251021154628-00-⌔

re — Regular expression operations — Python 3 documentation#re.search

re.search(pattern, string, flags=0)

Scan through string looking for the first location where the regular expression pattern produces a match, and return a corresponding Match. Return None if no position in the string matches the pattern; note that this is different from finding a zero-length match at some point in the string.

The expression’s behaviour can be modified by specifying a flags value. Values can be any of the flags variables, combined using bitwise OR (the | operator).

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •