The 'F' in RTFM has ALWAYS had  derogatory meaning since the inception
of the acronym.

http://www.pmms.cam.ac.uk/~gjm11/jargon/jargR.html#rtfm

And, yes, I saw that you had included irb lines within your post, but,
people come here for help... They want solutions spelled out, because
( hopefully ) they've already done all of the research they could, and
just didn't understand, or couldn't find the right docs in the first
place...

If you had simply changed your town from RTFM!!!! to "there are a
number of good online references for regular expressions like : (
enumerate urls ) ... as well as the wonderful O'Reilly book "Mastering
Regular Expressions" ... Here's a solution, and it does look a bit
like line-noise, so if you'd like to understand it better, any of
these resources should help."

Much calmer, much nicer, and an easier way to grow the community.

Anyways, ciao for now.

j.

On 10/1/05, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote:
> Sorry, the RTFM abbreviation wasn't meant to be anything like you
> imagine. Just a suggestion where to look for a generic solution to this
> class of problems.
> The quote from IRB session quote was a specific solution to the question
> posed.
>
> Alex
>
> > I hope I'm speaking for others on this list, but jumping on somebody
> > with an RTFM answer is extremely inappropriate.
> > On 10/1/05, *Alexey Verkhovsky* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     RTFM about regular expressions - they are your best friend for tasks
> >     like this.
> >
> >     irb:001:0> s =
> >     "http://soft-bogomazov:88/admin/menus/add_item/?menu_id=14";
> >     => " http://soft-bogomazov:88/admin/menus/add_item/?menu_id=14";
> >     irb:002:0> i = s.gsub(/^http:.*\?menu_id=(\d+)$/, '\1')
> >     => "14"
> >
>
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>


--
"http://ruby-lang.org -- do you ruby?"

Jeff Wood

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to