[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there any way to have a string literal that is read "raw"
From: |
David Kastrup |
Subject: |
Re: Is there any way to have a string literal that is read "raw" |
Date: |
Sat, 09 Jul 2005 11:16:23 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Markus Gritsch <address@hidden> writes:
> As Sean pointed out, it would also be convenient in such cases like
> Regexps handling.
>
> Python for example has beside of the normal string also a notation for
> a raw string:
>
> regex = r'^.*\n'
Which still needs a delimiter, and you used \n which is _not_ regexp
syntax. Now
regex = 4H^.*
(notice the literal newline) would be retro-chic.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Is there any way to have a string literal that is read "raw", (continued)
- Re: Is there any way to have a string literal that is read "raw", Richard M. Stallman, 2005/07/09
- Re: Is there any way to have a string literal that is read "raw", Lennart Borgman, 2005/07/09
- Re: Is there any way to have a string literal that is read "raw", Richard M. Stallman, 2005/07/10
- Re: Is there any way to have a string literal that is read "raw", Lennart Borgman, 2005/07/10
- Re: Is there any way to have a string literal that is read "raw", Richard M. Stallman, 2005/07/11
- Re: Is there any way to have a string literal that is read "raw", Eli Zaretskii, 2005/07/11
- Re: Is there any way to have a string literal that is read "raw", Richard M. Stallman, 2005/07/11
Re: Is there any way to have a string literal that is read "raw", Sean O'Rourke, 2005/07/09
Re: Is there any way to have a string literal that is read "raw", Markus Gritsch, 2005/07/09
- Re: Is there any way to have a string literal that is read "raw",
David Kastrup <=
- Re: Is there any way to have a string literal that is read "raw", Lennart Borgman, 2005/07/09
- Re: Is there any way to have a string literal that is read "raw", David Kastrup, 2005/07/09
- Re: Is there any way to have a string literal that is read "raw", Richard M. Stallman, 2005/07/10
- Re: Is there any way to have a string literal that is read "raw", Sean O'Rourke, 2005/07/10
- Re: Is there any way to have a string literal that is read "raw", David Kastrup, 2005/07/10
- Re: Is there any way to have a string literal that is read "raw", Richard M. Stallman, 2005/07/11