| 1 |
from typing import Any |
| 2 |
|
| 3 |
from regex._regex_core import VERSION0 |
| 4 |
|
| 5 |
def match( |
| 6 |
pattern, |
| 7 |
string, |
| 8 |
flags: int = ..., |
| 9 |
pos: Any | None = ..., |
| 10 |
endpos: Any | None = ..., |
| 11 |
partial: bool = ..., |
| 12 |
concurrent: Any | None = ..., |
| 13 |
timeout: Any | None = ..., |
| 14 |
ignore_unused: bool = ..., |
| 15 |
**kwargs, |
| 16 |
): ... |
| 17 |
def fullmatch( |
| 18 |
pattern, |
| 19 |
string, |
| 20 |
flags: int = ..., |
| 21 |
pos: Any | None = ..., |
| 22 |
endpos: Any | None = ..., |
| 23 |
partial: bool = ..., |
| 24 |
concurrent: Any | None = ..., |
| 25 |
timeout: Any | None = ..., |
| 26 |
ignore_unused: bool = ..., |
| 27 |
**kwargs, |
| 28 |
): ... |
| 29 |
def search( |
| 30 |
pattern, |
| 31 |
string, |
| 32 |
flags: int = ..., |
| 33 |
pos: Any | None = ..., |
| 34 |
endpos: Any | None = ..., |
| 35 |
partial: bool = ..., |
| 36 |
concurrent: Any | None = ..., |
| 37 |
timeout: Any | None = ..., |
| 38 |
ignore_unused: bool = ..., |
| 39 |
**kwargs, |
| 40 |
): ... |
| 41 |
def sub( |
| 42 |
pattern, |
| 43 |
repl, |
| 44 |
string, |
| 45 |
count: int = ..., |
| 46 |
flags: int = ..., |
| 47 |
pos: Any | None = ..., |
| 48 |
endpos: Any | None = ..., |
| 49 |
concurrent: Any | None = ..., |
| 50 |
timeout: Any | None = ..., |
| 51 |
ignore_unused: bool = ..., |
| 52 |
**kwargs, |
| 53 |
): ... |
| 54 |
def subf( |
| 55 |
pattern, |
| 56 |
format, |
| 57 |
string, |
| 58 |
count: int = ..., |
| 59 |
flags: int = ..., |
| 60 |
pos: Any | None = ..., |
| 61 |
endpos: Any | None = ..., |
| 62 |
concurrent: Any | None = ..., |
| 63 |
timeout: Any | None = ..., |
| 64 |
ignore_unused: bool = ..., |
| 65 |
**kwargs, |
| 66 |
): ... |
| 67 |
def subn( |
| 68 |
pattern, |
| 69 |
repl, |
| 70 |
string, |
| 71 |
count: int = ..., |
| 72 |
flags: int = ..., |
| 73 |
pos: Any | None = ..., |
| 74 |
endpos: Any | None = ..., |
| 75 |
concurrent: Any | None = ..., |
| 76 |
timeout: Any | None = ..., |
| 77 |
ignore_unused: bool = ..., |
| 78 |
**kwargs, |
| 79 |
): ... |
| 80 |
def subfn( |
| 81 |
pattern, |
| 82 |
format, |
| 83 |
string, |
| 84 |
count: int = ..., |
| 85 |
flags: int = ..., |
| 86 |
pos: Any | None = ..., |
| 87 |
endpos: Any | None = ..., |
| 88 |
concurrent: Any | None = ..., |
| 89 |
timeout: Any | None = ..., |
| 90 |
ignore_unused: bool = ..., |
| 91 |
**kwargs, |
| 92 |
): ... |
| 93 |
def split( |
| 94 |
pattern, |
| 95 |
string, |
| 96 |
maxsplit: int = ..., |
| 97 |
flags: int = ..., |
| 98 |
concurrent: Any | None = ..., |
| 99 |
timeout: Any | None = ..., |
| 100 |
ignore_unused: bool = ..., |
| 101 |
**kwargs, |
| 102 |
): ... |
| 103 |
def splititer( |
| 104 |
pattern, |
| 105 |
string, |
| 106 |
maxsplit: int = ..., |
| 107 |
flags: int = ..., |
| 108 |
concurrent: Any | None = ..., |
| 109 |
timeout: Any | None = ..., |
| 110 |
ignore_unused: bool = ..., |
| 111 |
**kwargs, |
| 112 |
): ... |
| 113 |
def findall( |
| 114 |
pattern, |
| 115 |
string, |
| 116 |
flags: int = ..., |
| 117 |
pos: Any | None = ..., |
| 118 |
endpos: Any | None = ..., |
| 119 |
overlapped: bool = ..., |
| 120 |
concurrent: Any | None = ..., |
| 121 |
timeout: Any | None = ..., |
| 122 |
ignore_unused: bool = ..., |
| 123 |
**kwargs, |
| 124 |
): ... |
| 125 |
def finditer( |
| 126 |
pattern, |
| 127 |
string, |
| 128 |
flags: int = ..., |
| 129 |
pos: Any | None = ..., |
| 130 |
endpos: Any | None = ..., |
| 131 |
overlapped: bool = ..., |
| 132 |
partial: bool = ..., |
| 133 |
concurrent: Any | None = ..., |
| 134 |
timeout: Any | None = ..., |
| 135 |
ignore_unused: bool = ..., |
| 136 |
**kwargs, |
| 137 |
): ... |
| 138 |
def compile( |
| 139 |
pattern, flags: int = ..., ignore_unused: bool = ..., **kwargs |
| 140 |
): ... |
| 141 |
def purge() -> None: ... |
| 142 |
def cache_all(value: bool = ...): ... |
| 143 |
def template(pattern, flags: int = ...): ... |
| 144 |
def escape(pattern, special_only: bool = ..., literal_spaces: bool = ...): ... |
| 145 |
|
| 146 |
DEFAULT_VERSION = VERSION0 |
| 147 |
Pattern: Any |
| 148 |
Match: Any |
| 149 |
Regex = compile |
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|