On 2015-11-02 20:09, Seymore4Head wrote:
> How do I make a regular expression that returns true if the end of
> the line is an asterisk

Why use a regular expression?

  if line[-1] == '*':
    yep(line)
  else:
    nope(line)

-tkc



-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to