Simon Forman wrote: > Python's re.match() matches from the start of the string, so if you > want to ensure that the whole string matches completely you'll probably > want to end your re pattern with the "$" character (depending on what > the rest of your pattern matches.)
Is that necessary? I was thinking that match() was used to match the full RE and string, and if they weren't the same, they wouldn't match (meaning a begin/end of string character wasn't necessary). That's wrong? -- http://mail.python.org/mailman/listinfo/python-list