Lines Matching refs:block_str
232 def parse_starts_block(block_str, scanstr, returnskipped, scanregex=False): argument
234 m = re.search(scanstr, block_str)
237 return block_str
240 block_str = block_str[len(m.group(0)) :]
241 return block_str
244 if block_str.startswith(scanstr):
246 block_str = block_str[len(scanstr) :]
251 return block_str
257 block_str, fieldstr, scanfmt, convert, masked=False, defval=None argument
259 if fieldstr and not block_str.startswith(fieldstr):
260 return block_str, defval
264 str_skipped = block_str[str_skiplen:]
269 str_skipped = block_str