) and makes ^
match the start of any line (not just the start of the string).
More specific, what does 're.M' means?
I have tried several other modification to the searchObj line, without clue yet.
Could you explain re.M and the following two searchObj mechanisms?
Thanks,
import re
line = Cats
Scroll down to the Module Contents section of this page:
https://docs.python.org/2/library/re.html
It explains re.M and other constants.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
of a line (not just the end of the string) and makes ^
match the start of any line (not just the start of the string).
More specific, what does 're.M' means?
I have tried several other modification to the searchObj line, without clue yet.
Could you explain re.M and the following two searchObj
On Mon, 07 Jul 2014 07:08:53 -0700, rxjwg98 wrote:
More specific, what does 're.M' means?
Feel free to look at it interactively. re.M is a flag to control the
meaning of the regular expression. It is short for re.MULTILINE, just as
re.I is short for re.IGNORECASE:
py import re
py re.M
On Monday, July 7, 2014 10:46:19 AM UTC-4, Steven D'Aprano wrote:
On Mon, 07 Jul 2014 07:08:53 -0700, rxjwg98 wrote:
More specific, what does 're.M' means?
Feel free to look at it interactively. re.M is a flag to control the
meaning of the regular expression. It is short
On Monday, July 7, 2014 10:46:19 AM UTC-4, Steven D'Aprano wrote:
On Mon, 07 Jul 2014 07:08:53 -0700, rxjwg98 wrote:
More specific, what does 're.M' means?
Feel free to look at it interactively. re.M is a flag to control the
meaning of the regular expression. It is short
On Monday, July 7, 2014 10:46:19 AM UTC-4, Steven D'Aprano wrote:
On Mon, 07 Jul 2014 07:08:53 -0700, rxjwg98 wrote:
More specific, what does 're.M' means?
Feel free to look at it interactively. re.M is a flag to control the
meaning of the regular expression. It is short
On 07/07/2014 16:20, rxjw...@gmail.com wrote:
For the second time, would you please use the mailing list
https://mail.python.org/mailman/listinfo/python-list or read and action
this https://wiki.python.org/moin/GoogleGroupsPython to prevent us
seeing double line spacing and single line