Author: Gunwant SinghGunwant 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).
|