Re: [nyphp-talk] REGEXP Solution Needed

2010-09-15 Thread Andrew Muraco
Cool tool for Regex testing: all in-browser testing.. http://gskinner.com/RegExr/ <http://gskinner.com/RegExr/>what about [?&]size=0*10([&#].*)?$ to match when size=10 or size=010 (logically the same thing..) - Andrew Muraco On Wed, Sep 8, 2010 at 1:05 PM, justin wrote:

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Andrew Muraco
But you have to consider that chances are, the person entering the article won't select all the possible keywords that could become links ahead of time, so you'd end up with articles that don't have enough links.. but I like the idea. Personally, i think a spider/bot is the best bet, maintain a li

Re: [nyphp-talk] Switch-Case v. if/else

2009-05-14 Thread Andrew Muraco
would allow it tho. -Andrew Muraco oorza...@gmail.com wrote: oops, just sent this to one guy =\ On May 14, 2009 3:52pm, oorza...@gmail.com wrote: > Alright! answers :P > > Profiling the code, this script (which bottlenecks on the switch-case) is 82% of execution time __with__ APC. Of t