for some reason the regular expression being used the the comment coloring didn't like having a comma in the text string for the comment so I changed it around. Also the current method didn't like comments like <!--- this is to do something with > ---> My correction has also fixed that issue as well
_____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 5 September 2007 8:41 AM To: [email protected] Subject: [cfaussie] Re: RegEx Help No I didn't consider it as it doesn't do ColdFusion. Since you said there are lots around, I'd be interested in others you might know of that do ColdFusion. It's for learncf.com so coldfusion is a requirement. Steve Onnis helped me last night fix up a bug with the version I'm using, so it's pretty good now. Regards Dale Fraser http://dalefraser.blogspot.com From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart (lists account) Sent: Wednesday, 5 September 2007 7:49 AM To: [email protected] Subject: [cfaussie] Re: RegEx Help Dale, did you consider the one at http://codepress.org/? It's not CF-specific, but it's HTML one does a reasonable job. Just depends on what you're looking for. Ray used it in his cf8 database explorer tool (http://www.coldfusionjedi.com/index.cfm/2007/8/14/Database-Explorer--ColdFu sion-8-Sample-Application), to give you an example of implementing it. /charlie _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Monday, September 03, 2007 7:33 PM To: [email protected] Subject: [cfaussie] Re: RegEx Help Charlie, I have already got a Color Coder, which I hacked from the BlogCFC one, as for many alternatives, I couldn't find anything decent. I actually want it for something else, but if you have a good color coder or a link to such I would be interested in having a look at it. My one is still a bit buggy. Regards Dale Fraser http://dalefraser.blogspot.com From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart (lists account) Sent: Tuesday, 4 September 2007 6:46 AM To: [email protected] Subject: [cfaussie] Re: RegEx Help Dale, might you be doing this to create a tool to do color coding in your learncf code examples? If so, just note that there are many existing alternatives for that. If you're doing it for some other reason, no worries. Just thought I'd ask if that might be the real root of the question. /charlie _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Monday, September 03, 2007 1:48 AM To: [email protected] Subject: [cfaussie] RegEx Help I struggle with RegEx's Anyone know if this is even possible. I want to pull out a unique list of coldfusion tags in a given source string I assume I can match <cf*[space] Can the regex do the unique bit, or do I need to loop through and build a structure. Regards Dale Fraser http://dalefraser.blogspot.com <BR <BR --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
