astgrep.py | raw changeset files shortlog |
1.1 --- a/astgrep.py Mon Oct 27 01:17:02 2008 +0100 1.2 +++ b/astgrep.py Mon Oct 27 20:47:35 2008 +0100 1.3 @@ -134,7 +134,7 @@ 1.4 if term is None: 1.5 op = None 1.6 else: 1.7 - op = re.compile(term).match 1.8 + op = re.compile(term).search 1.9 1.10 # Perform the search either in a single file or in a directory hierarchy. 1.11