[Tutor] Regular expression - I
S Tareq
stareq13 at yahoo.com
Tue Feb 18 20:58:51 CET 2014
does any one know how to use 2to3 program to convert 2.7 coding 3.X please i need help sorry
On Tuesday, 18 February 2014, 19:50, Zachary Ware <zachary.ware+pytut at gmail.com> wrote:
On Tue, Feb 18, 2014 at 11:39 AM, Zachary Ware
<zachary.ware+pytut at gmail.com> wrote:
<snip>
> >>> '<H\*>'
> '<H\*>'
>
> The equivalent raw string is exactly the same in this case:
>
> >>> r'<H\*>'
> '<H\*>'
Oops, I mistyped both of these. The repr should be '<H\\*>' in both cases.
Sorry for the confusion!
--
Zach
_______________________________________________
Tutor maillist - Tutor at python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140218/79775e09/attachment.html>
More information about the Tutor
mailing list