Adam Howitt wrote a blog post asking for improvements to a regex that he
wrote:
http://tinyurl.com/yvzxjk
 
This is what I came up with:
\(-?[\w,.]+/-?[\w,.]+\)
 
But I'm wondering if it's possible to reuse the first portion of the
expression, rather than writing the same exact thing twice in one string. So
rather than this:
 
\(-?[\w,.]+/-?[\w,.]+\)
 
I could have this:
 
\((-?[\w,.]+)/\1\)
 
or something like that. I could swear that I've seen someone do this before.
____________________________________
 
Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292989
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