Re: lug-bg: regular expresion ?
- Subject: Re: lug-bg: regular expresion ?
- From: pavel@xxxxxxxxxxxxx (Pavel Cholakov)
- Date: Mon, 20 Mar 2000 18:41:34 +0200
On Sat, Mar 18, 2000 at 08:57:30PM +0200, ice wrote:
]
] hi ,
] imam sledniq elementaren problem . V edin perl script imam promenliva sys
] sydyrjanie "/path/to/file/filename.zip" i iskam da otdelq samo pytq t.e.
] "/path/to/file/" , i po vyzmojnost v regex da ne se polzva imeto na file-to shto
] ako ima "+( )[ ]" vyv filename gyrmi . Ostanaloto "filename.zip" si go otdelih
] ama tova s pytq me tormozi ot dva dni ... (Znam che iz RTM-to go pishe ama veche
] vtori den ne go otkrivam ...) , 10x predvaritelno ...
/(.*)\/[A-Za-z\.\ <...i drugite walidni simwoli za ime na fajl>]/ w $1 e pytq.
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|