Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with:

Happy Valentines Day ColdFusion

By Ben Nadel on
Tags: ColdFusion

ColdFusion, will you be mine?


 
 
 

 
ColdFusion Valentines Day Card  
 
 
 

Roses are red,
Violets are blue,
Dynamic typing rocks it hardcore,
And so do you!

Tweet This Deep thoughts by @BenNadel - Happy Valentines Day ColdFusion Thanks my man — you rock the party that rocks the body!



Reader Comments

Hey Steve,

I put my auto-url linking in place... and I see now that my RegEx logic is totally off base :) I always get confused with the whole greatest matching string. I always think it will go back and un-match parts of the string to -rematch longer strings. ... of course RegEx does NOT do that. Uggg :)

Reply to this Comment

:) Hey, I'd be happy to help if I can... just let me know what your requirements are. E.g., does it need to ignore URLs within <a> elements, does it need to always force that matches end before certain punctuation characters, etc.?

Reply to this Comment

It's matching file names, but then not their extensions. I see why - its trying to match a directory first (which becomes the file name) but then fails on the rest of the matches because the extensions itself does not make a valid file name (which is what it would expect after a directory).

I thought this would work before because I assumed it would try to make the largest match first, but I wasn't thinking clearly and forgot that backtracking doesn't work that way.

I will give it another go and run it by you. Thanks!

Reply to this Comment

Post A Comment

You — Get Out Of My Dreams, Get Into My Comments
Live in the Now
Oops!
Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.