🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: algonet.amiga
Article #38

Re: Perl, insert char to string

#38
From: Torsten Ekedahl
Date: Sun, 25 Feb 1996 00:00
22 lines
1668 bytes
In article <1377.6628T892T1845@algonet.se> hansmbg@algonet.se (Hans
Malmberg) writes:

> Jag antar d� att '\c' betyder n�got i Perl som f�r
> utskriften 'd'. 

Fr�n perlmanualen:
       Characters may be specified using a metacharacter syntax
       much like that used in C: "\n" matches a newline, "\t" a
       tab, "\r" a carriage return, "\f" a form feed, etc.  More
       generally, \nnn, where nnn is a string of octal digits,
       matches the character whose ASCII value is nnn.
       Similarly, \xnn, where nn are hexidecimal digits, matches
       the character whose ASCII value is nn. The expression \cx
                                                             ^^^
       matches the ASCII character control-x.  Finally, the "."
       metacharacter matches any character except "\n" (unless
       you use /s).
-- 

                            Torsten Ekedahl
                            teke@matematik.su.se
Technical Details
Message-ID: <x6vikvpu2f.fsf@homealone.matematik.su.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1377.6628T892T1845@algonet.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10e356,92c90354a9a199a7
X-Google-Attributes: gid10e356,public
X-Google-Thread: fad40,92c90354a9a199a7
X-Google-Attributes: gidfad40,public
X-Google-Thread: f7a1c,92c90354a9a199a7
X-Google-Attributes: gidf7a1c,public
From: teke@homealone.matematik.su.se (Torsten Ekedahl)
Subject: Re: Perl, insert char to string
Date: 1996/02/25
Message-ID: <x6vikvpu2f.fsf@homealone.matematik.su.se>
X-Deja-AN: 141010392
sender: teke@homealone.matematik.su.se
references: <1377.6628T892T1845@algonet.se>
content-type: text/plain; charset=iso-8859-1
organization: Stockholms Universitet
mime-version: 1.0
newsgroups: algonet.amiga,algonet.unix,swnet.unix