perl.beginners
  Home FAQ Contact Sign in
perl.beginners only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
perl.beginners Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Regex question.         


Author: Gunwant Singh
Date: Jul 4, 2008 23:54

Hi all,

Thanks for all the help provided so far in my earlier queries. I have a
query regarding regexes.
I am to match only one specific word in a wordlist which has only those
alphabets which it contains and none other than that.

For example:

My Wordlist contains:

alpha
alpha1
beta
betaze
gamma
gamman
gammano

I want to match any scrambled word with a word in the wordlist which has
exactly the same alphabets may be unscrambled/scrambled no other
alphabets. Say, If I enter 'ammag' (scrambled word for gamma), it should
only match 'gamma' and NOT 'gamman' | 'gammano'(which my current code is
doing).
Show full article (1.42Kb)
4 Comments
  find and multiline delete         


Author: Brian Funk
Date: Jul 4, 2008 19:32

I need a starting point to learn to accomplish the following action:

I need to take a plain text ascii file such as:
Show full article (0.79Kb)
2 Comments
  Optimize the script         


Author: Jet Speed
Date: Jul 4, 2008 04:08

Hi All,

I put togather a piece of code with some help, to capture the output as
below from a file "cxout1" as below. I am sure this can be written in few
lines or even differnt way of getting the same out put with use of hash etc.
Kindly help me to optimize the code. Any help would be much appericated.

output from the script
---------------------------------

The Clarion Array Serial Number is CK200061101100

LUN INFO POLICY-TYPE OWNER PSEUDO DEVICE
LUN 415 policy=CLAROpt current=SP A emcpower3a
LUN 815 policy=CLAROpt current=SP B emcpower4a

file contents cxout1

-----------------------------
Show full article (3.99Kb)
8 Comments