Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

8 011 Posts in 3 981 Topics- by 1 216 Members - Latest Member: santini862

17 October 2018, 08:05
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumRussian talksСкриптингВопросы по основам KVSзамена по таблице
Pages: [1]
Print
Author Topic: замена по таблице  (Read 19046 times)
0 Members and 1 Guest are viewing this topic.
Hadros
Новичок
*

Репутация: 7
Gender: Male
Posts: 32


250254035
View Profile
« on: 25 September 2007, 22:42 »

Есть ли в KVS способ заменить в строке определённые символы на определённые другие?
Или как сделать, чтобы не терялись русские буквы в этом:
Code:
%a="abcde"
perl.begin
$a=KVIrc::getLocal("a");
$a=~tr/[ba]/[щЛ]/;
KVIrc::setLocal("a",$a);
perl.end
echo %a
Logged

Eru shitteiru ka shinigami wa ringo shika tabenai
runkoff
Постоялец
***

Репутация: 22
Gender: Male
Posts: 130


847905
View Profile WWW Email
« Reply #1 on: 25 September 2007, 22:55 »

Code:
echo $str.replace("Есть ли в KVS способ заменить в строке определённые символы на определённые другие?","другие","определённые символы")

?
Logged

Hadros
Новичок
*

Репутация: 7
Gender: Male
Posts: 32


250254035
View Profile
« Reply #2 on: 26 September 2007, 17:58 »

нет. это замена подстроки в строке. А надо например заменить все шестёрки на букву "б", все девятки на букву "я" и т.д. За один раз. Чтобы не вызывать для каждой буквы отдельную функцию
Logged

Eru shitteiru ka shinigami wa ringo shika tabenai
Maximusya
Глобальный модератор
*****

Репутация: 49
Gender: Male
Posts: 343



View Profile
« Reply #3 on: 26 September 2007, 19:15 »

Code:
%str = "кака9 69ка"
%str=~ tr/69/бя/
echo %str
Logged
runkoff
Постоялец
***

Репутация: 22
Gender: Male
Posts: 130


847905
View Profile WWW Email
« Reply #4 on: 26 September 2007, 21:07 »

вспомнился скрипт "неправильная раскладка", там был двумерный массив символов для одной и другой раскдаки и конвертируемая строка перебиралась посимвольно. а получается что все это можно заменить на
Code:
%a =~ t/qwertyuiop[]asdfghjkl;'zxcvbnm,./йцукенгшщзхъфывапролджэячсмитьбю/
%a =~ t/QWERTYUIOP{}ASDFGHJKL;'ZXCVBNM,./ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ/
в одну сторону, и
Code:
%a =~ t/йцукенгшщзхъфывапролджэячсмитьбю/qwertyuiop[]asdfghjkl;'zxcvbnm,./
%a =~ t/ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ/QWERTYUIOP{}ASDFGHJKL;'ZXCVBNM,./
вдругую сторону.
удобно.
Logged

Kemuri
Новичок
*

Репутация: 0
Gender: Male
Posts: 8


280569368
View Profile
« Reply #5 on: 10 October 2007, 15:58 »

а замену не по буквам, а сразу по слогам как сделать? что бы определенные слоги заменялись на заданные (антимат своеобразный)
« Last Edit: 10 October 2007, 16:11 by Kemuri » Logged

runkoff
Постоялец
***

Репутация: 22
Gender: Male
Posts: 130


847905
View Profile WWW Email
« Reply #6 on: 10 October 2007, 17:27 »

а замену не по буквам, а сразу по слогам как сделать? что бы определенные слоги заменялись на заданные (антимат своеобразный)
вот попробуй
Code:
%a =  чтобы матом не материца сделал автозамену матерных слов
echo $str.replace(%a,"*ОЙ*","мат")
Code:
%a =  чтобы матом не материца сделал автозамену матерных слов
%a =~ s/мат/*ОЙ*/g
echo %a
« Last Edit: 10 October 2007, 17:32 by runkoff » Logged

ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #7 on: 3 May 2018, 11:50 »

mt0503
canada goose outlet
coach outlet
ralph lauren sale clearance
reebok shoes
cheap oakley sunglasses
michael kors outlet
timberland boots
nike outlet
coach factory outlet
michael kors outlet clearance
canada goose uk
canada goose sale
christian louboutin
jordans
hermes handbags
canada goose
canada goose jackets uk
air jordans
adidas nmd
christian louboutin shoes
adidas
uggs canada
michael kors outlet
valentino shoes
supreme clothing
cheap jordans free shipping
harden vol 1
adidas nmd
air jordans
coach outlet
michael kors outlet
moncler outlet
fitflops
fitflops sale clearance
fitflops
pandora jewelry
nike huarache
pandora charms
philipp plein shirt
canada goose jackets
ralph lauren outlet online
cheap ray ban sunglasses
cheap oakley sunglasses
abercrombie and fitch
coach outlet
coach outlet store
ralph lauren uk
air max 2018
canada goose uk
hermes bags
pandora
moncler outlet
adidas outlet
tory burch outlet
oakley sunglasses
moncler jackets
supra shoes
ecco shoes
kate spade handbags
supreme new york
birkenstocks
mulberry outlet
adidas nmd shoes
air max 97
air max 2017
oakley sunglasses
cheap jordans
fred perry
toms outlet
longchamp outlet
louis vuitton outlet store
pandora jewelry official site
moncler jackets
ferragamo outlet
longchamp outlet
uggs outlet
cheap ray ban sunglasses
kate spade outlet
adidas campus
coach factory outlet
hermens bags
air max 2019
cheap nike air max
nike shoes
fitflops sale clearance
polo outlet
birkenstock sandals
coach outlet
uggs
nmd adidas
polo outlet
ralph lauren sale clearance
michael kors outlet canada
canada goose outlet
kobe bryant shoes
tory burch outlet
adidas originals
birkenstock shoes
jordan shoes
jordan retro
mt0503
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #8 on: 13 June 2018, 06:58 »

michael kors handbags
prada
air jordan
oakley sunglasses
ray ban sunglasses
yeezy shoes
coach outlet store online
bcbg
nike roshe
jordans
pandora jewelry
mlb jerseys
nike shoes for women
ray ban sunglasses
manolo blahnik
coach outlet
links of london
adidas football boots
puma fenty
oakley sunglasses
polo shirts
jordan 1
tory burch bags
longchamp
ferragamo
polo ralph
timberland
cheap jordans
cheap jerseys
tory burch
hermes outlet
nike mercurial
oakley sunglasses
ray ban sunglasses
prada outlet
michael kors
yeezy desert rat 500
nike free
gucci slides
balenciaga sandals
nike revolution
asics
coach outlet
michael kors outlet
longchamp outlet
hermes
nike air max
jordan 6
flops
longchamp
polo ralph lauren
jordan
flip flops
ralph lauren outlet
barcelona jersey
ray ban
columbia sportswear
wholesale snapback hats
new balance
prada handbags
miu miu handbags
nike sb
pandora jewelry
coach outlet
vans shoes
michael kors
fingerlings monkey
coach factory outlet
celine
true religion
jordans
mcm backpack
michael kors
jordan 3
ferragamo
coach outlet
jordan 4
michael kors
adidas
red bottom shoes
stussy clothing
juicy couture outlet
jordans
michael kors handbags
polo ralph lauren
ralph lauren outlet
nfl jerseys
cheap nfl jerseys
nfl jerseys
maillot de foot
maglie calcio
camisetas de futbol
trikots günstig
football shirts
maillot de foot pas cher
maglia calcio
fussball trikots
camisetas de futbol
soccer jerseys
soccer jerseys
20186.13chenjinyan
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #9 on: 3 July 2018, 12:42 »

nike air max
orologi rolex
nike roshe run
burberry handbags
michael kors uk
swarovski gioielli
adidas zx flux
kenzo clothing
nike free run
michael kors outlet
mac cosmetics
roshe run
michael kors uk
sac vanessa bruno
cartier bracelet
michael jordan
prada
basketball shoes
sac longchamp
air max 90
nike air max
nike mercurial superfly
nike clothing
air jordan
nike air max
ferragamo
thomas sabo uk
nike roshe
nike outlet
jordan
rolex watches
mizuno
cheap oakley sunglasses
air jordan
giuseppe zanotti outlet
true religion outlet
ralph lauren outlet
mulberry handbags
abercrombie
nike shoes
lacoste shoes
oakley vault
longchamp
blazer nike
instyler
nike vapor max
insanity workout
hollister
belgium world cup jerseys
oakley sunglasses
air max 2018
bcbg max azria
ray ban sunglasses
nike air max
nike air force 1
nike huarache
adidas outlet
cheap wedding dresses
adidas outlet store
guess factory
ray ban
nike outlet
air force
abercrombie
ray ban sunglasses
coach outlet
michael jordan
puma shoes
replica watches
true religion jeans
spain world cup jersey
salomon shoes
swarovski
cheap jordan shoes
louboutin outlet
nike air max
bottega veneta
polo ralph lauren
parajumpers
michael kors outlet
jordans
pandora charms
adidas originals
pandora jewelry
dansko shoes
portugal world cup jersey
timberland boots
burberry sale
coach factory outlet
supra shoes
michael kors outlet clearance
ray ban pas cher
air max
occhiali oakley
reebok shoes
tiffany jewelry
nike free
lululemon outlet
prom dresses
adidas outlet store
2018.7.3xukaimin
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #10 on: 10 July 2018, 06:29 »

columbia outlet
salvatore ferragamo
oakley sunglasses
louboutin
flip flops
nike free run
coach outlet store online
michael kors outlet
converse shoes
true religion jeans
ralph lauren
nike tn
nike outlet
coach outlet online
supreme
adidas stan smith
oakley sunglasses
flops
ray ban
fitflops
birkenstock outlet
longchamp
bcbg
christian louboutin shoes
true religion outlet
coach outlet
juicy couture
burberry outlet
kevin durant shoes
michael kors outlet
mlb jerseys
jordans
oakley sunglasses
nfl jerseys
ralph lauren
adidas
nike outlet online
giuseppe zanotti
nike store
replica rolex watches
coach factory outlet
christian louboutin outlet
balenciaga sandals
nike dunks
camisetas de futbol
adidas shoes
new balance shoes
ugg boots
basketball shoes
hermes belt
kate spade outlet
adidas flip flops
cheap jordans
nike air force 1
jordan 5
adidas nmd for sale
michael kors
nike air max
jordan 3s
nike flip-flops
swarovski
nike shox
burberry outlet
audemars piguet
coach outlet
true religion sale
prada
malone souliers mules
michael kors outlet
birkenstock shoes
y3 shoes
celine
ray ban sunglasses
jordan
polo ralph lauren
jordans
burberry outlet
manolo blahnik shoes
nike air max 95
hermes bags
cartier bracelet
mac cosmetics
michael kors uk
christian louboutin
jordan shoes
coach outlet
vans outlet
fila
dolce & gabbana
balenciaga
pandora outlet
maglia calcio
nike air max 97
jordan pas cher
nfl jerseys
nike huarache
nike shoes for women
michael kors handbags
adidas superstar
van cleef & arpels jewelry
chenyingying20180710
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #11 on: 20 August 2018, 15:26 »

kate spade outlet
fitflops outlet
manolo blahnik
supreme t shirts
canada goose outlet store
cheap ugg boots
cheap oakley sunglasses
mbt shoes
pandora outlet store
adidas outlet online
coach outlet online
cheap ugg boots
coach factory outlet
canada goose
michael kors outlet online
nike outlet
christian louboutin outlet
coach outlet online
mbt outlet clearance
true religion jeans
ugg boots clearance
christian louboutin outlet
adidas outlet store
kate spade sale
canada goose
pandora charms sale clearance
canada goose outlet store
coach outlet
coach outlet online
cheap jerseys
ugg boots on sale
true religion
polo ralph lauren
coach outlet
michael kors outlet
true religion outlet
coach outlet
moncler jackets
ugg boots clearance
coach factory outlet online
polo outlet
canada goose jackets
cheap mlb jerseys
oakley sunglasses
kate spade bags
true religion jeans
ugg outlet
canada goose outlet
coach outlet store online
canada goose jackets
michael kors handbags
moncler outlet online
uggs canada
polo outlet
ugg outlet
air max 2017
canada goose jackets
coach outlet online
ugg boots
air max 90
coach factory outlet
kate spade outlet
ralph lauren
pandora rings
christian louboutin
pandora charms
coach outlet
ralph lauren shirts
canada goose
ralph lauren uk
coach factory outlet
kate spade handbags
prada outlet store
adidas yeezy
ugg boots on sale
ray ban sunglasses
michael kors outlet online
polo ralph lauren
uggs outlet
coach outlet online
nike shoes
canada goose outlet store
ralph lauren outlet
ray ban sunglasse
nike huarache
mont blanc
valentino shoes
coach outlet online
ugg outlet
pandora outlet
polo shirts
ugg boots clearance
michael kors outlet online
coach factory outlet
pandora jewelry
oakley sunglasses wholesale
uggs outlet
moncler outlet
nmd adidas
coach outlet
chenqiuying20180820
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #12 on: 22 August 2018, 15:23 »

20180822xiaoke
canada goose
ugg boots on sale
canada goose outlet online
cheap jordan shoes
michael kors handbags
kate spade new york
ralph lauren
christian louboutin
christian louboutin sale
jordan shoes
canada goose outlet online
coach outlet store online
cheap air jordans
pandora charms
michael kors outlet
pandora jewelry
ugg boots clearance
red bottoms
cheap jordan shoes
polo ralph lauren outlet
coach outlet store online
pandora jewelry
pandora jewelry
49ers jerseys
canada goose outlet
louboutin shoes
pandora jewelry
pandora jewelry
true religion jeans sale
nfl jersey wholesale
polo ralph lauren outlet
ugg outlet store
michael kors uk
coach outlet online
ralph lauren polo shirts
coach outlet store online
coach factory outlet
michael kors outlet store
canada goose outlet store
coach factory outlet
christian louboutin outlet
manolo blahnik
chopard jewelry
kevin durant jerseys
ugg boots
longchamp outlet online
nike factory shoes
canada goose outlet store
jordan shoes
fossil watches
air jordan shoes
michael kors outlet clearance
coach outlet
coach factory outlet
canada goose
ugg boots clearance
cheap jordan shoes
air jordan shoes
jordan shoes
coach outlet
air jordan shoes
nike pegasus
michael kors outlet online
oakley sunglasses wholesale
armani exchange
coach factory outlet
cheap jordans
kate spade purses
michael kors outlet clearance
longchamp pas cher
ugg boots
air jordan retro
moncler
mulberry bags
polo ralph lauren outlet
uggs canada
cheap air jordans
kate spade purses
ugg boots on sale 70% off
uggs outlet
coach outlet store online
michael kors outlet clearance
denver broncos jersey
michael kors outlet online
canada goose jackets clearance
kate spade handbags
oakley sunglasses sale
michael kors outlet online
cheap jordans
canada goose
cheap ray bans
ugg boots
true religion outlet store
polo ralph lauren outlet
ugg outlet online
jordan shoes
basketball jerseys
air max 90
coach factory outlet
pandora jewelry
michael kors outlet clearance
canada goose
canada goose outlet sale
burberry outlet sale online
adidas crazy
michael kors outlet online
pandora outlet
canada goose outlet online
coach factory outlet
michael kors
coach factory outlet
jerseys wholesale
canada goose jackets
longchamp pliage
nike air max schweiz
light up shoes
gentle monster sunglasses
karen millen dresses
air jordan shoes
coach outlet store
ralph lauren homme
polo ralph lauren
cheap ray ban sunglasses
ugg boots
uggs outlet
ralph lauren outlet
ugg boots on sale 70% off
ralph lauren polo shirts
christian louboutin sale
louboutin shoes
ralph lauren polo shirts
canada goose outlet store
christian louboutin
coach outlet store online
cheap air jordans
polo ralph lauren outlet
10 deep clothing
christian louboutin sale
oakley sunglasses wholesale
christian louboutin
kate spade sale
ugg boots clearance
oakley sunglasses wholesale
coach outlet store online
michael kors outlet clearance
huf clothing
jordan shoes
canada goose outlet online
michael kors outlet clearance
fitflops shoes
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #13 on: 17 September 2018, 10:51 »

adidas superstar
swarovski jewelry
vans pas cher
alife clothing
nike air
iphone x case
timberland pas cher
bcbg dresses
golden goose sneakers
nike vapor max
nike outlet
coach outlet
michael kors canada
prada sunglasses
red bottom shoes
jordan 4
ray ban sunglasses
adidas soccer cleats
jordan pas cher
jordan 10
fendi sunglasses
polo ralph lauren
supra shoes
ralph lauren
reebok outlet
curry 4
lacoste shoes
boy london clothing
adidas trainers uk
nike air max
goyard handbags
guess
polo ralph lauren
gucci handbags
mac makeup
kate spade uk
10 deep clothing
omega watches
kobe 10
coach factory outlet
christian louboutin pas cher
jordan shoes
tods shoes
tory burch outlet
oakley sunglasses
jordan 12
dolce & gabbana
michael jordan
nike mercurial
nike air max
converse all stars
nike clothing
bulgari jewelry
longchamp handbags
cheap jerseys
new balance
jordan 8
nike roshe run
lululemon outlet
salomon shoes
nike huarache
jordan 7
nike air max 2017
gucci outlet
nike kyrie 2
soccer jerseys
bcbg max azria
givenchy jewelry
hogan
dior bags
givenchy handbags
clarks shoes
adidas superstar
replica watches
nike air max
tommy hilfiger pas cher
adidas clothing
ray ban
abercrombie
abercrombie
jordan 31
michael kors outlet online
miu miu shoes
fitflops outlet
abercrombie
dyson hair dryer
tommy hilfiger
jordan 6
chopard jewelry
jordan 5
michael kors outlet
mac cosmetics
ed hardy
vans outlet
oakley sunglasses
adidas outlet store
michael jordan
balmain jeans
nike blazer
longchamp
2018.9.17xukaimin
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 791


View Profile Email
« Reply #14 on: Yesterday at 11:02 »

chenqiuying20181016
puma shoes
cheap ugg boots
canada goose
michael kors outlet online
michael kors outlet online
moncler jackets
longchamp bags
cheap oakley sunglasses
coach outlet online
polo ralph lauren outlet
moncler outlet online
canada goose outlet store
michael kors outlet
lebron shoes
coach factory outlet
coach factory outlet
nike huarache shoes
pandora charms
michael kors outlet online
coach factory outlet
pandora outlet online
ralph lauren
kate spade handbags
michael kors handbags sale
coach factory outlet
cheap nfl jerseys
north face outlet
ugg outlet
kate spade sale
ugg boots clearance
michael kors outlet clearance
valentino shoes
coach outlet online
mlb jerseys
coach factory outlet
ugg outlet
kate spade outlet store
michael kors outlet online
coach outlet online
pandora outlet
coach outlet online
kate spade sale
oakley sunglasses wholesale
uggs outlet
canada goose uk
canada goose jackets canada
canada goose outlet store
uggs outlet
canada goose outlet
pandora outlet
ray ban sunglasses
ugg boots clearance
pandora
yeezy boost 350
coach factory outlet
fitflops outlet
moncler outlet
nfl jerseys
air jordan 4 retro
louboutin outlet
kate spade outlet online
chenqiuying20181016
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic