Regular expressions

MRAB python at mrabarnett.plus.com
Mon Nov 2 20:19:34 EST 2015


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: \*$


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /