Hi Charlie,

This post is like long time ago .. but I also have a similar problem for 
comparision.
Let me usse the same example:
String1: 0010as10000
String2: 10as1 .. this was solved using rereplace() but what if I actually need 
something like this.

String1: 10as1
String1: 10as10000121abc or 10as1abc or 10as1121  should be equal

or 

String1: abc201
String1: abc20101 or abc201abc or abc20101dc or abc201dc01  should be equal

It means that the string1 charecters should exactly match with String2 but 
string2 can have equal or more charecters than string1.

Thanks in Advance,
Priya

>I'm still learning regex, so i'm less concerned with "inefficient" and
>more concerned with "holy crap it worked" :)
>
>I had the "+" in place of the "*" initially, but read something that
>made me think the * would be better in that case.  I probably
>misunderstood (and don't recall what it was specifically, as I read it
>late last night and I'm typing this early the next morning), but I
>think I get what you're saying.
>
>The + matches 1 or more, whereas the * matches zero or more... so with
>the asterisk the engine always "hits" the beginning and end (even in
>the case of zero zeros).
>
>Thanks.  Just woke up and learned something.  I can go back to bed :)
>
>-- 
>I have failed as much as I have succeeded. But I love my life. I love
>my wife. And I wish you my kind of success 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to