Skip to main content

Cory

Member since Jul 20, 2009

Recent Blog Comments By Cory

  • REMatchGroups() ColdFusion User Defined Function

    Posted on Jul 20, 2009 at 5:26 PM

    Ben, I went with a more simple pattern - without the mailto: [\w-]+@([\w-]+\.)+[\w-]+ That seems to do the trick! Thank you!... read more »

  • REMatchGroups() ColdFusion User Defined Function

    Posted on Jul 20, 2009 at 4:55 PM

    Ben, I replaced (\n|.) with [\w\W] in both lines of code, and while the ReReplaceNoCase still works, the dump of the arrMatches variable is still empty?... read more »

  • REMatchGroups() ColdFusion User Defined Function

    Posted on Jul 20, 2009 at 4:34 PM

    Ben, I am simply trying to find existing mailto links in a string of HTML (coming from the database. I am new to regular expressions, but I think what I currently have is probably overkill for such a simple pattern.... read more »

  • REMatchGroups() ColdFusion User Defined Function

    Posted on Jul 20, 2009 at 4:02 PM

    Just came across your UDF and your site - bookmarked it right away! I am having an issue with ReMatchGroups. Here are the 2 lines of code. The arrMatches array dumps out empty, but the ReReplaceNodecase function does the replacement. Any idea why REMatchGroups isn't finding the matches? <cfs... read more »

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