View Single Post

  #7 (permalink)  
Old 02-09-2006
rlee0001
 
Posts: n/a
Default Re: regex experts? help please

Ben,

Google groups can also show the entire thread on one page. In fact that
is its default behaviour. Quoted text is only appropriate if you want
to respond to multiple specific points from the original message. I
made the subject of my message clear enough as to clear up any context
ambiguities about what parts of your message I am replying to.

Anyways, the only reason I posted was to make brendan aware that your
regexp matched numbers since this can lead to false positives in some
instances depending on his application and needs. I wasn't criticizing
you and fully understand that numbers can be used as times in text.
Hell I wasn't even trying to correct you. I was just elaborating for
brendan's sake in case he didn't realize what your regexp might match.

Also, I don't think either of us should always have to hand over a
perfect working solution to a question. I think your original regexp
does a great job of leading brendan in the right direction and
providing a possible solution. But I think that ultimately the
responsiblity rests with brendan to ensure that the solution provided
will work for his needs and to modify that solution if nessisary.

Just by pointing out to brendan that your regexp will match numbers
I've enabled him to decide whether to use that provided regexp as is or
(god forbid) actually try to modify it himself to fit his specific
needs.

Besides, if he needed a modified version that didn't match simple
numbers and he couldn't figure it out on his own he could always ask.
I'd be wasting my time posting a solution to a problem that nobody has.

Don't take things so personally. We're on the same team remember? :o)

-Robert

Reply With Quote