Skip to main content
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Matthew Bourke
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Matthew Bourke ( @gummatt )

Happy Valentines Day ColdFusion

Published in Comments (5)

ColdFusion, will you be mine?


ColdFusion Valentines Day Card  

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

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 :)


:) 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.?


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!

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel