Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets

by sundialsvc4 (Abbot)
on Jul 11, 2018 at 14:32 UTC ( #1218317=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets
in thread Regex to catch IPV4 and IPV6 whenever ip appears withing brackets

I do take exception to being called a “dumb shit” in public under any circumstance.   I would have expected this community of presumably civilized professionals to have dealt with the problem of hazing one particular Monk about a decade ago.   It baffles me why this community does not see this as a problem.   There are occasional comments by others which show that others are aware of what is happening, but nothing gets done.


With regard to the present topic:   I see no reason to try to tackle this requirement using “one” regular expression.   Especially if it is very probable that the string does contain an IP-address within a parenthesized group, it makes perfect sense to me to take the approach suggested by Anonymous Monk:   first scan for parenthesized groups which have at least one digit in them.   That doesn’t sound like “dumb shit” to me.

  • Comment on Re^3: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets

Replies are listed 'Best First'.
Re^4: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets
by Your Mother (Bishop) on Jul 11, 2018 at 15:16 UTC
    “You run into an asshole in the morning, you ran into an asshole. You run into assholes all day, you're the asshole.” -Raylan Givens, Justified

    The fact that it is only you is solid evidence that the community is blameless. The anonymous monk went too far in language but you go too far constantly including your new penchant for posting anonymously and then defending your downvoted anonymous posts signed in. This place has an ethos and your willful, relentless flouting of it mixed with your sloth and inability to back-up a tenth of the skills you boast can only end in one way; alternatively, it could only be ameliorated by one person and the damage you've wrought means it would take years of perfect posts devoid of whining before you were fully accepted and trusted.

Re^4: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets
by marto (Archbishop) on Jul 11, 2018 at 14:50 UTC

    What you call "hazing" (which doesn't match the dictionary definition) seems to be for the most part people actually calling you out for what you say and do. Since you've been a thorn in the side of this community (in several respects) for so long, expect people to get tired of your shenanigans. Given how frequently your own actions seem to confuse you there's every possibility you are trolling yourself.

Re^4: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets
by Anonymous Monk on Jul 11, 2018 at 19:02 UTC
    Hello? 911? Listen to this, I've been taking a dumps in the pool at my apartment complex several times a day for over 10 years. Now, once out of 4.5K times doing this, one of my neighbors yells a PG-13 swear word at me. What are you gonna do about this awful behavior of theirs?
Re^4: Regex to catch IPV4 and IPV6 whenever ip appears withing brackets
by Anonymous Monk on Jul 12, 2018 at 16:53 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2019-12-05 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (151 votes). Check out past polls.

    Notices?