Limits on search length

Roger Miller roger.miller at
Mon Oct 1 21:40:17 CEST 2007

Since you are getting the regular expression pattern via an argument I
would first check that searchPattern is what you expect. Shells can do
funny things with arguments containing special characters.  Also, is
it possible that the quoted strings in the files contain escapes?  For
example if a file contains the text "hello\n" would you consider that
6 characters or 7?

More information about the Python-list mailing list