Problem creating a regular expression to parse open-iscsi, iscsiadm output (help?)
Kevin LaTona
lists at studiosola.com
Thu Jun 13 17:07:33 EDT 2013
On Jun 13, 2013, at 7:42 AM, Kevin LaTona <lists at studiosola.com> wrote:
> With the following code tweaks in Python 2.7.2, I find it works with VERBOSE for me, but not without.
Sorry had a small bleep while writing that last line this AM.
Of course the regex pattern would work in VERBOSE mode as that was how it was presented.
Without VERBOSE each line of the pattern would of needed to have been enclosed in quote or double quote marks.
http://docs.python.org/2/library/re.html#re.VERBOSE
-Kevin
More information about the Python-list
mailing list