Lines Matching defs:matching
1846 string/pattern matching on the output of such command execution. The
1847 expect method also provides a mode to peform string/pattern matching
2066 self, str, patterns, msg=None, trace=False, error=False, matching=True, exe=True
2068 """run command in str, and match the result against regexp in patterns returning the match object for the first matching pattern
2096 heading = "Expecting" if matching else "Not expecting"
2109 matched if matching else not matched,
2334 matching=True,
2339 Similar to runCmd; with additional expect style output matching ability.
2347 When matching is true and ordered is true, which are both the default,
2356 If the keyword argument matching is set to False, it signifies that the API
2411 expecting_str = "Expecting" if matching else "Not expecting"
2428 # Meaning if you have no conditions, matching or
2429 # not matching will always pass
2430 matched = matching
2441 if endstr and matched == matching:
2449 if substrs and matched == matching:
2453 start = start + index + len(substr) if ordered and matching else 0
2461 if matched != matching:
2464 if patterns and matched == matching:
2479 if matched != matching:
2483 if msg is not None and matched != matching:
2489 if matched != matching: