On Tue, 3 Nov 2015 01:19:34 +0000, MRAB <pyt...@mrabarnett.plus.com>
wrote:

>On 2015-11-03 01:09, Seymore4Head wrote:
>> How do I make a regular expression that returns true if the end of the
>> line is an asterisk
>>
>To match an asterisk: \*
>
>To match the end of a line: $
>
>To match an asterisk at the end of a line: \*$

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

Reply via email to