Le mardi 16 juillet 2013 08:55:58 UTC+2, Mohan L a écrit :
Dear All,
Here is my script :
#!/usr/bin/python
import re
# A string.
logs = date=2012-11-28 time=21:14:59
# Match with named groups.
m =
On 17 July 2013 07:15, wxjmfa...@gmail.com wrote:
Not sure, I'm correct. I took you precise string to
refresh my memory.
I'm glad to see you doing something else, but I don't think you
understood his problem. Note that his problem has not solution, which
a few seconds of Googling has confirmed
Le mercredi 17 juillet 2013 09:46:46 UTC+2, Joshua Landau a écrit :
On 17 July 2013 07:15, wxjmfa...@gmail.com wrote:
Not sure, I'm correct. I took you precise string to
refresh my memory.
I'm glad to see you doing something else, but I don't think you
understood his problem.
On 16 July 2013 07:55, Mohan L l.mohan...@gmail.com wrote:
Dear All,
Here is my script :
#!/usr/bin/python
import re
# A string.
logs = date=2012-11-28 time=21:14:59
# Match with named groups.
m =
re.match((?Pdatetime(date=(?Pdate[^\s]+))\s+(time=(?Ptime[^\s]+))),
logs)
# print
On Tue, Jul 16, 2013 at 2:12 PM, Joshua Landau jos...@landau.ws wrote:
On 16 July 2013 07:55, Mohan L l.mohan...@gmail.com wrote:
Dear All,
Here is my script :
#!/usr/bin/python
import re
# A string.
logs = date=2012-11-28 time=21:14:59
# Match with named groups.
m =
On 16/07/2013 11:18, Mohan L wrote:
On Tue, Jul 16, 2013 at 2:12 PM, Joshua Landau jos...@landau.ws
mailto:jos...@landau.ws wrote:
On 16 July 2013 07:55, Mohan L l.mohan...@gmail.com
mailto:l.mohan...@gmail.com wrote:
Dear All,
Here is my script :
On 16 July 2013 16:38, MRAB pyt...@mrabarnett.plus.com wrote:
On 16/07/2013 11:18, Mohan L wrote:
I using another third party python script. It takes the regex from
configuration file. I can't write any code. I have to do all this in
single regex.
A capture group captures a single