[Python-bugs-list] [ python-Bugs-446136 ] regex documentation
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 30 Jul 2001 14:52:17 -0700
Bugs item #446136, was opened at 2001-07-30 14:52
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446136&group_id=5470
Category: Documentation
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: regex documentation
Initial Comment:
Python Library Reference:
In Contents_of_Module_re.html please add this example.
I think a lot
of people will benefit:
sub(...)
# '"foo"' --> 'foo'
def remove_quotation_mark(s):
return re.sub('^"(.*)"$', "\1", s)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446136&group_id=5470