* [Comm] Perl подскажите плиз
@ 2004-12-03 14:39 Oleg Pan
2004-12-03 15:15 ` Oleg Pan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Oleg Pan @ 2004-12-03 14:39 UTC (permalink / raw)
To: community
Hello community,
подскажите плиз строчку для PERL
s/%([0-9A-Fa-f][0-9A-Fa-f])/ /ge;
для перекодировки слов вида "%ec%ef%e2"
--
Best regards,
Oleg mailto:wacom@narod.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Perl подскажите плиз
2004-12-03 14:39 [Comm] Perl подскажите плиз Oleg Pan
@ 2004-12-03 15:15 ` Oleg Pan
2004-12-03 15:15 ` Oleg Pan
2004-12-04 2:38 ` [Comm] " Alexey Tourbin
2 siblings, 0 replies; 4+ messages in thread
From: Oleg Pan @ 2004-12-03 15:15 UTC (permalink / raw)
To: Oleg Pan
Hello Oleg,
Friday, December 3, 2004, 5:39:38 PM, you wrote:
> Hello community,
> подскажите плиз строчку для PERL
> s/%([0-9A-Fa-f][0-9A-Fa-f])/ /ge;
> для перекодировки слов вида "%ec%ef%e2"
нашел
s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
--
Best regards,
Oleg mailto:wacom@narod.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Perl подскажите плиз
2004-12-03 14:39 [Comm] Perl подскажите плиз Oleg Pan
2004-12-03 15:15 ` Oleg Pan
@ 2004-12-03 15:15 ` Oleg Pan
2004-12-04 2:38 ` [Comm] " Alexey Tourbin
2 siblings, 0 replies; 4+ messages in thread
From: Oleg Pan @ 2004-12-03 15:15 UTC (permalink / raw)
To: Oleg Pan
Hello Oleg,
Friday, December 3, 2004, 5:39:38 PM, you wrote:
> Hello community,
> подскажите плиз строчку для PERL
> s/%([0-9A-Fa-f][0-9A-Fa-f])/ /ge;
> для перекодировки слов вида "%ec%ef%e2"
нашел s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
--
Best regards,
Oleg mailto:wacom@narod.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Comm] Re: Perl подскажите плиз
2004-12-03 14:39 [Comm] Perl подскажите плиз Oleg Pan
2004-12-03 15:15 ` Oleg Pan
2004-12-03 15:15 ` Oleg Pan
@ 2004-12-04 2:38 ` Alexey Tourbin
2 siblings, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2004-12-04 2:38 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
On Fri, Dec 03, 2004 at 05:39:38PM +0300, Oleg Pan wrote:
> подскажите плиз строчку для PERL
> s/%([0-9A-Fa-f][0-9A-Fa-f])/ /ge;
> для перекодировки слов вида "%ec%ef%e2"
$ perldoc -q decode
> --
> Best regards,
> Oleg mailto:wacom@narod.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-04 2:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 14:39 [Comm] Perl подскажите плиз Oleg Pan
2004-12-03 15:15 ` Oleg Pan
2004-12-03 15:15 ` Oleg Pan
2004-12-04 2:38 ` [Comm] " Alexey Tourbin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git