3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
11 class RegexMatch(object):
12 def __init__(self, msg):
15 def __eq__(self, other):
16 match = re.search(self.msg, other)
22 class SubstrMatch(object):
23 def __init__(self, msg):
26 def __eq__(self, other):