[Tutor] Regular Expression Misunderstanding

Steve Nelson sanelson at gmail.com
Fri Jul 14 12:03:52 CEST 2006


On 7/14/06, John Fouhy <john at fouhy.net> wrote:

> It doesn't have to match the _whole_ string.

Ah right - yes, so it doesn't say that it has to end with a b - as per
your comment about ending with $.

> If you look at the match object returned, you should se that the match
> starts at position 0 and is four characters long.

How does one query a match object in this way?  I am learning by
fiddling interactively.

> John.

S.


More information about the Tutor mailing list