Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Looking for a Regex

by BrowserUk (Patriarch)
on Mar 04, 2019 at 13:22 UTC ( #1230836=note: print w/replies, xml ) Need Help??


in reply to Re^4: Looking for a Regex
in thread Looking for a Regex

You now claim that you *deliberately* posted broken code?

No. You're trying to put words in my mouth as usual.

The code I posted was typed straight into the edit field and never tested. It's purpose was to give the OP an approach to solving his problem -- by turning his wordy, belaboured, prose description into more concise & clearer code -- not to solve it for him.

It probably took me no more time or effort to type; than it took you to type your earn-a-few-more-xp-points-for-no-effort-totally-negative-knee-jerk response to the OP. And whilst I knew full well it might not fully encapsulate his requirements, and might well not compile, how he reacted to it could have told us so much about both his requirements and his skill level.

So little effort in fact that even if it had compiled clean, and completely solved the OPs problem by cut&paste, I would not have begrudged him that. Why do you? Why do you so begrudge a stranger the benefit of someone else's time and effort? Nobody is asking, much less requiring you to be a "code writing service"; but why do you feel the need and right to speak on behalf of others here?

Of course, chances are he never even saw it, because your totally unhelpful, totally negative, must-be-first response, probably caused him to go away and never come back.

So, well done on driving away yet another potential contributor with your first-off-the-blocks, grudging negativity. Way to go.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Replies are listed 'Best First'.
Re^6: Looking for a Regex
by 1nickt (Abbot) on Mar 04, 2019 at 14:45 UTC

    Bollocks. In fact, I engaged the OP at the time in CB, and pointed him/her to the beginner's doc for regexps, as noted in my post, and in terms of the OP's growth as a programmer and in view of his/her complete lack of knowledge of the subject, that is far *more* help than posting a complete code solution, particularly a broken one.


    The way forward always starts with a minimal test.

      Seven separate lines of discussion totally dismissed with the wonderfully expressed:

      Bollocks.

      that is far *more* help

      So your opinion rules here? Damn! but you credit yourself with an awful lot of say, for someone with so little evidence of ability or insight.

      In my opinion -- and demonstrated by a very large and growing body of scientific evidence -- giving the raw beginner something close to what they need as a starting point and allowing them to explore it through hands-on modification, is far more helpful in getting them jump started, than pointing them at a body of comprehensive, but dry, disconnected, and 90% irrelevant to their problem, documentation; and forcing them to stare at a blank screen wondering how to get started.

      But all of that is beyond your ability to reason.

      My fault for engaging with a small man carrying the burden of such a big chip I suppose.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
      In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1230836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-01-21 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?