Lines Matching defs:substrs
2237 substrs=[p],
2330 substrs=None,
2344 'startstr', matches the substrings contained in 'substrs', and regexp
2348 the strings in the substrs array have to appear in the command output
2370 # `substrs` has been given. Thus, if a `msg` is given, it's an error to
2372 if msg and not (patterns or startstr or endstr or substrs or error):
2375 # Check `patterns` and `substrs` are not accidentally given as strings.
2377 assert not isinstance(substrs, str), "substrs must be a collection of strings"
2449 if substrs and matched == matching:
2451 for substr in substrs: