Community Member Profile
- Profile: /members/4691-Travis.htm
- URL: N/A
- Comments: 2
- Points: 23
Recent Blog Comments By Travis
-
Matching Multi-Line Regular Expression Patterns In MULTILINE Mode (?m)
Posted on Nov 5, 2009 at 3:34 PM
The way that expression is written, you know you'll have exactly one line between the DDD line and the line that starts with a G. Was that your intention? If you add a line or even a blank line no match is found. If you need more flexibility may I suggest something like: "(?m)D+$(\r\n?|\... read more »
-
Tracking Request Volume Based On IP Addresses In ColdFusion
Posted on Nov 5, 2009 at 12:49 PM
Fancy! Last time I tried blocking spam with IP traffic it was with CF5. I don't remember the exact code I used; I no longer maintain the site or have access to the code. Tracked IPs were kept in an application scope and dumped every 5 minutes. Each IP had a startTrackingTime and IPH... read more »



