[twill] Finding Multiple Instances of a String on a Page

Terry Peppers peppers at gmail.com
Fri Feb 17 13:23:26 PST 2006


I just started playing around with twill and I really like it so far. I had
a question about the find command. The docs say the following:

*find* *<regexp>* -- assert that the page contains this regular expression.
The variable __match__ is set to the matching string.

If I have a body of text like this: "Foo bar foo"

And I say "find foo" - will 'find' locate both instances of 'foo?'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.idyll.org/pipermail/twill/attachments/20060217/5d7ec491/attachment.html


More information about the twill mailing list