G
goldtech
Hi,
Trying to start out with simple things but apparently there's some
basics I need help with. This works OK:'sss'
....
But two questions:
How can I operate a regex on a string variable?
I'm doing something wrong here:
Traceback (most recent call last):
File "<pyshell#15>", line 1, in <module>
m.group(0)
AttributeError: 'NoneType' object has no attribute 'group'
How do I implement a regex on a multiline string? I thought this
might work but there's problem:
Traceback (most recent call last):
File "<pyshell#26>", line 1, in <module>
m.group(0)
AttributeError: 'NoneType' object has no attribute 'group'
Thanks for the newbie regex help, Lee
Trying to start out with simple things but apparently there's some
basics I need help with. This works OK:'sss'
....
But two questions:
How can I operate a regex on a string variable?
I'm doing something wrong here:
Traceback (most recent call last):
File "<pyshell#15>", line 1, in <module>
m.group(0)
AttributeError: 'NoneType' object has no attribute 'group'
How do I implement a regex on a multiline string? I thought this
might work but there's problem:
Traceback (most recent call last):
File "<pyshell#26>", line 1, in <module>
m.group(0)
AttributeError: 'NoneType' object has no attribute 'group'
Thanks for the newbie regex help, Lee