Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ match
Method
match
Lib/re/_parser.py:256–260 ·
view source on GitHub ↗
(self, char)
Source
from the content-addressed store, hash-verified
254
self.index = index + 1
255
self.next = char
256
def
match(self, char):
257
if
char == self.next:
258
self.__next()
259
return
True
260
return
False
261
def
get(self):
262
this = self.next
263
self.__next()
Callers
15
parse_template
Function · 0.95
parse_opcode_signature
Function · 0.45
parse_pdb_command
Function · 0.45
get_header_version_info
Function · 0.45
fix_uplink
Function · 0.45
_match
Method · 0.45
Internaldate2tuple
Function · 0.45
ParseFlags
Function · 0.45
imaplib.py
File · 0.45
_strptime
Function · 0.45
attr_matches
Method · 0.45
assure_pickle_consistency
Function · 0.45
Calls
1
__next
Method · 0.95
Tested by
4
_parse_example
Method · 0.36
_find_lineno
Method · 0.36
__patched_linecache_getlines
Method · 0.36
test_idprog
Method · 0.36