diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2007-06-23 01:38:40 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2007-06-23 01:38:40 +0000 |
commit | 6bb94fde482c0c9c2b5bf6a985305a78ee773189 (patch) | |
tree | f110ebc59838a73fcf539275dcb46f8f15bddc6b /pexpect | |
parent | 0b4a8f0bd010aae2891bb3ec4e74c8280fc514c2 (diff) | |
download | pexpect-6bb94fde482c0c9c2b5bf6a985305a78ee773189.tar.gz |
Added a comment.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@475 656d521f-e311-0410-88e0-e7920216d269
Diffstat (limited to 'pexpect')
-rw-r--r-- | pexpect/pexpect.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pexpect/pexpect.py b/pexpect/pexpect.py index a2d63a7..c3c71a5 100644 --- a/pexpect/pexpect.py +++ b/pexpect/pexpect.py @@ -1662,6 +1662,7 @@ class ReSearch (object): If there is a match, returns the index of that string, and sets 'start', 'end' and 'match'. Otherwise, returns -1. """ + # TODO, I should double-check that this logic follows the old re.search logic. absurd_match = len(buffer) first_match = absurd_match # 'freshlen' doesn't help here -- we cannot predict the |