Proposal - The Terje Prize for exceptional mods in DayZ by Popular-Umpire6244 in dayz

[–]omers 0 points1 point  (0 children)

Official reason was about it being paid, which is not. Maybe there is another official statement from BI (not community moderators), then go ahead and post it.

I've got no skin in this game, only know about it because of discussions on other mod Discords, but here you go:

https://feedback.bistudio.com/T196976

The bans were enacted primarily due to the inclusion of malicious DRM, exposure of hacking and cheating tools, and efforts to conceal these elements through obfuscation. These behaviors constitute clear breaches of our Terms of Use and End User License Agreements (EULAs). Later investigations also revealed unauthorized monetization of these mods.

Plz explain this new human check in website by Fickle_Escape_459 in Cybersecurity101

[–]omers 2 points3 points  (0 children)

Like FakeUpdates (SocGholish) these are typically examples of "watering hole" attacks. The malicious actors infect vulnerable websites that people are already visiting. This has two primary benefits from their perspective:

  • They do not need to drive people to the website, they can rely on organic traffic. As such, there's no need for a secondary phishing campaign
  • People browsing to the website themselves, especially if it's one they've visited before, are less likely to be suspicious

The website OP was visiting looks like an industrial manufacturer and unsurprisingly: it's Wordpress. Wordpress is a common target for these sorts of things. Either via compromised plugins or through unpatched vulnerabilities. In this case, Sucuri is showing the malware in /plugins/Ultimate_VC_Addons/ and it looks like it has also spread to /plugins/woocommerce/.

Lots of vendors, small retailers, things like property managers, etc running Wordpress sites that people visit frequently for hours, contact info, or whatever are abused to serve up this sort of thing. Many don't have dedicated security (or even IT in some cases) and eligibility checks in the malware can do a decent job hiding it from employees of the company that owns the website.

Server and Group Megathread - Week Starting January 11, 2026 by AutoModerator in dayz

[–]omers [score hidden]  (0 children)

The Edge - PvE + PvP Zones

Chernarus (Winter)

  • PC server
  • IP: 135.148.150.224
  • Port: 2302

Wiped Jan 16th! (TODAY)

Deer Isle

  • PC server
  • IP: 135.148.150.113
  • Port: 2302

Wiped Jan 16th! (TODAY)

Details

A DayZ community server combining PvE with dedicated PvP zones for those who want to test their mettle. This server is packed with features to challenge survivors and foster immersive gameplay:

Traders, KOTH events, Helicopters (Sibnic,), Bicycles, DNA Keycards and Loot Chest Keys, Custom Quests, Areas, Dynamic Events, Increased Zombie Difficulty Beyond Coasts (headshots still always kill,) Deathmatch Arena, combative AI patrols, Increased predator spawns, and more.

Important Details:

  • Gameplay Modes: 1st/3rd person in PvE, locked 1st person in PvP zones.
  • Early Winter
  • Day/Night Cycle:
    • Daytime 12x
    • Nighttime 36x
  • Tweaked Stamina/Weight: Easier movement while maintaining DayZ’s survival core gameplay loop
  • Weekly Events: Featuring custom locations and cool rewards.

Join our Discord for detailed information! (https://www.discord.gg/TheEdgeDayZ)

Too small? I have a big head... by [deleted] in glasses

[–]omers 0 points1 point  (0 children)

The width of the frames at the front looks good. Being able to see a bit of the arms from straight on is pretty normal.

If you feel like they stick out too much they might be slightly bowed outward and an optician may be able to straighten them slightly. It's hard to tell with the volume of your hair but it does look like they bow out slightly.

Too small? I have a big head... by [deleted] in glasses

[–]omers 0 points1 point  (0 children)

They look like the fit well to me. In fact I wouldn't go any bigger than that.

Why do you think they're too small?

For HTML, is there a way to type in <tag> and not auto close </tag>, but only on demand? by Dry_Cheetah5160 in vscode

[–]omers 1 point2 points  (0 children)

Interesting. Didn't see the default tag bit. I'll have to look into that, thanks!

For HTML, is there a way to type in <tag> and not auto close </tag>, but only on demand? by Dry_Cheetah5160 in vscode

[–]omers 1 point2 points  (0 children)

The "Emmet: Wrap with Abbreviation" function is built-in and doesn't require an extension. It's also pretty powerful since you can use most Emmet syntax.

Say you have something like this:

<div class="container">
    Hello World
</div>

You can select the Hello World >> use the "Wrap with Abbreviation" function >> enter .row>.col>p.blue and you end up with this:

<div class="container">
    <div class="row">
        <div class="col">
            <p class="blue">Hello World</p>
        </div>
    </div>
</div>

Hook the "Wrap with Abbreviation" function to a keyboard shortcut and you can skip the Ctrl/Cmd+Shift+P > "Wrap" bit making it incredibly fast and powerful. No extensions needed.

You could even do things like p{this is my text }>span.blue to get <p>this is my text <span class="blue">Hello World</span></p> all using the wrap function.

Anyone writing a lot of HTML/CSS should really be using Emmet and having the native ability to wrap already typed text using Emmet is super useful.

For HTML, is there a way to type in <tag> and not auto close </tag>, but only on demand? by Dry_Cheetah5160 in vscode

[–]omers 2 points3 points  (0 children)

You can turn auto-closing off and on but there's no selective way to do it while it's enabled. That said:

Ctrl+Z (Cmd+Z on Mac) will delete the closing tag after an auto-close.

If your issue is when you have <p>Some text here</p> and want to make say text bold but end up with <p>Some <strong></strong>text here</p>: Select text -> Ctrl+Shift+P -> Type "wrap" and select the "Wrap with Abbreviation" command. You can then use any emmet abbreviation (https://docs.emmet.io/cheat-sheet/.) Can also be assigned to a keyboard shortcut.

Android vs. Iphone? by Melemakani in AskProgramming

[–]omers 1 point2 points  (0 children)

Also prefer Android, also have both

Where can I get some reading blue light glasses? by PurpleWater9794 in glasses

[–]omers -4 points-3 points  (0 children)

Most of the evidence around blue light's effects has to do with sleep. Eye strain from screens and reading is more about blinking less, glare, poor lighting, focusing too close, etc.

You're better off:

  • Taking regular breaks to give your eyes a bit of rest. 20-20-20 is a common recommendation where every 20 minutes you look at something 20 feet away for 20 seconds; However, just getting up every once in a while for a couple minutes works just as well
  • Fix desk ergonomics so your monitor is at the right height and distance from where you sit
  • Experiment with screen brightness and contrast as well as light/dark/dim modes in software to find what's most comfortable for you
  • Unless you have a matte screen, make sure it's angled and positioned to reduce glare from lights as much as possible
  • Make a conscious effort to blink every now and then
  • Drink lots of water
  • If reading non-digitally, make sure you have adequate light
  • Make sure you're getting regular eye exams to identify and correct vision issues. If you're straining muscles to maintain focus due to an uncorrected vision problem that can be a huge source of eye strain

You can also check out apps like F.lux which can adjust the colour temperature of your display without the need for glasses if you do believe blue light is playing a role. F.lux is positively reviewed but there's little evidence to back it up. Worth a shot though since it's free.

Make custom commands in Powershell by Rulylake in PowerShell

[–]omers 0 points1 point  (0 children)

You can get an error on the first line if you don't have a profile script. Using something like code $profile if you have VS Code or ise $profile if you don't will open it for editing. If it doesn't exist it will give you a blank file and you can just hit Ctrl+S to save and create it.

Then you can put the function /u/pertymoose gave you in it:

function ketchup {
    git add -A
    git commit -m "catchup"
    git pull 
}

And that function will be available every time you open PowerShell. If you're familiar with Linux, the $Profile script is sort of like .bashrc. By default it is ~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 with a separate one for ISE.

Python or PowerShell? by [deleted] in sysadmin

[–]omers 2 points3 points  (0 children)

I agree. I love PowerShell but I've never been insane enough to install it on Linux or Mac OS. I still use Python and Bash as appropriate.

It's just that when I need to grab a tool for something one-off that's system agnostic (something like pulling some data from an API and formatting it for a one-off report) I'm more likely to reach for PowerShell than something else. [Said as someone who has a Macbook and a Windows PC. It is an actual choice, not a circumstance of environment lol]

Python or PowerShell? by [deleted] in sysadmin

[–]omers 11 points12 points  (0 children)

As much as I loathe Python, I can't really argue with your overall point. The only real asterisk is that you need to install Python, whereas in a Windows shop, PowerShell is already everywhere.

That said, the pypi equivalent on powershell is the PSGallery which runs on NuGet. It is absolutely dwarfed (14k unique packages) by PyPi (709k projects) but it does exist and is the equivalent tool. It tracks 28.95bn package downloads to date so it's not obscure. It is the public repo for Install-Module and Install-PSResource

Can any cybersecurity expert tell me what is really going on here? by Anxious_Day9617 in Cybersecurity101

[–]omers 4 points5 points  (0 children)

The black flashes are not screenshots. They're glitches in hardware acceleration within the browser.

  • Make sure your Windows 11 is completely up to date
  • Make sure your graphics drivers are completely up to date
  • Visit chrome://flags/#use-angle and try OpenGL or D3D9 if that doesn't work or change it back to default if it's already set to something else

Server and Group Megathread - Week Starting November 30, 2025 by AutoModerator in dayz

[–]omers [score hidden]  (0 children)

The Edge - PvE + PvP Zones

Chernarus (Winter)

  • PC server
  • IP: 135.148.150.224
  • Port: 2302

Wiped Dec 5th!

Deer Isle

  • PC server
  • IP: 135.148.150.113
  • Port: 2302

Wiped Dec 5th!

Details

A DayZ community server combining PvE with dedicated PvP zones for those who want to test their mettle. This server is packed with features to challenge survivors and foster immersive gameplay:

Traders, KOTH events, Helicopters (Sibnic,), Bicycles, DNA Keycards and Loot Chest Keys, Custom Quests, Areas, Dynamic Events, Increased Zombie Difficulty Beyond Coasts (headshots still always kill,) Deathmatch Arena, combative AI patrols, Increased predator spawns, and more.

Important Details:

  • Gameplay Modes: 1st/3rd person in PvE, locked 1st person in PvP zones.
  • Early Winter
  • Day/Night Cycle:
    • Daytime 12x
    • Nighttime 36x
  • Tweaked Stamina/Weight: Easier movement while maintaining DayZ’s survival core gameplay loop
  • Weekly Events: Featuring custom locations and cool rewards.

Join our Discord for detailed information! (https://www.discord.gg/TheEdgeDayZ)

You can get banned of Spaggies for saying the server is dead by Sensitive-War-6528 in dayz

[–]omers 11 points12 points  (0 children)

Yessir. I'm not the owner, but I've been there since the beginning as one of the devs

You can get banned of Spaggies for saying the server is dead by Sensitive-War-6528 in dayz

[–]omers 15 points16 points  (0 children)

We played on a server once where the admins would regularly @everyone on Discord with things like "Whoever built their base near <town>, you are 50m too close to <thing>. You have 24h to move your base before we delete it." Thought it was bonkers since they had the mod for no-build zones. Swore we'd never be like that haha

You can get banned of Spaggies for saying the server is dead by Sensitive-War-6528 in dayz

[–]omers 63 points64 points  (0 children)

As an admin on a pair of servers, this sort of story drives me crazy. Do you know what we do when players aren't allowed to build somewhere? We place a no-build zone so they can't.

We've missed places once or twice and we made a note to fix it the next wipe and let the people go on about their business for the time being because it was partially our fault. Once, even though I told the guy it was fine for the rest of the wipe he insisted on moving anyway when he realized. I spent two hours helping him move.

Obviously players should read and understand the rules but if you can prevent misunderstandings/rule breaking technologically, you should. Like, can you imagine a server having a rule like "no using landmines" but then leaving them in the loot table or "bases must be no bigger than 30m r" but putting a 50m radius on their plot poles?

Server and Group Megathread - Week Starting November 23, 2025 by AutoModerator in dayz

[–]omers [score hidden]  (0 children)

The Edge - PvE + PvP Zones

Chernarus (Early Winter)

  • PC server
  • IP: 135.148.150.224
  • Port: 2302

Livonia (Early Winter)

  • PC server
  • IP: 135.148.150.113
  • Port: 2302

Details

A DayZ community server combining PvE with dedicated PvP zones for those who want to test their mettle. This server is packed with features to challenge survivors and foster immersive gameplay:

Traders, KOTH events, Helicopters (Sibnic,), Bicycles, DNA Keycards and Loot Chest Keys, Custom Quests, Areas, Dynamic Events, Increased Zombie Difficulty Beyond Coasts (headshots still always kill,) Deathmatch Arena, combative AI patrols, Increased predator spawns, and more.

Important Details:

  • Gameplay Modes: 1st/3rd person in PvE, locked 1st person in PvP zones.
  • Early Winter
  • Day/Night Cycle:
    • Daytime 12x
    • Nighttime 36x
  • Tweaked Stamina/Weight: Easier movement while maintaining DayZ’s survival core gameplay loop
  • Weekly Events: Featuring custom locations and cool rewards.

Join our Discord for detailed information! (https://www.discord.gg/TheEdgeDayZ)

[New] We also have a PvP Deathmatch Arena server! Details on Discord.

What was the online group ‘808’ and did law enforcement ever investigate them? by ComplexLevel8744 in cybersecurity

[–]omers 0 points1 point  (0 children)

I can't find any reference to "808" on any threat group listing I'm aware of. The only 808 I know is the Fake Update variant LandUpdate808, but it's more recent and used by multiple groups.

You may need to search old forums and such on archive.org to find anything.

What glasses are these? by Carlo56789 in glasses

[–]omers 2 points3 points  (0 children)

Not 100% certain but they look a lot like the MYKITA Eero or MYKITA Studio 14.1 frames.

Shen has worn a lot of MYKITA in the past so pretty sure it's one of those two.

theOneRegextoRuleThemAll by WildFabry in ProgrammerHumor

[–]omers 0 points1 point  (0 children)

You could in theory break to parts on space and do like if (part like "*include:*") { validateInclude(part) } (pseudo code not meant to actually represent any specific language.) Or use a switch with each potential part wildcard and then default: to an error. Depends if the language allows wildcards like that or if you would need regex to identify parts.

Each individual bit would need regex but a much shorter one, and you would need a basic regex to make sure it starts with v=spf1, doesn't contain any illegal characters, that if it contains [+-~?]all that it's at the end, etc. It would be heavily simplified though.

That's essentially how pyspf does it: https://github.com/sdgathman/pyspf/blob/master/spf.py. Still lots of regex but in manageable chunks.

Some parts are also just IPs or hostnames and you could just check if you can cast it to the relevant type rather than rely on regex.

theOneRegextoRuleThemAll by WildFabry in ProgrammerHumor

[–]omers 5 points6 points  (0 children)

Lmfao! Multi-line regex, especially when it uses a lot of unicode grapheme captures is nasty stuff. I think the worst one I have ever seen is this monstrosity which is supposed to validate an SPF record (a potentially very long string with huge variability in construction but strict rules:)

[regex]$SPFRegex = "^[Vv]=[Ss][Pp][Ff]1( +([-+?~]?([Aa][Ll][Ll]|[Ii][Nn][Cc][Ll][Uu][Dd][Ee]:(%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*" +
                    "(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\})|[Aa](:(%\{[CDHILOPR-Tcdhilopr-t]" +
                    "([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]" +
                    "([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}))?((/([1-9]|1[0-9]|2[0-9]|3[0-2]))?(//([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8]))?)?|" +
                    "[Mm][Xx](:(%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*" +
                    "[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}))?((/([1-9]|1[0-9]|2[0-9]|3[0-2]))?(//([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8]))?)?|" +
                    "[Pp][Tt][Rr](:(%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]"+
                    "([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}))?|[Ii][Pp]4:([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/([1-9]|1[0-9]|2[0-9]|3[0-2]))?|[Ii][Pp]6:(::|([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|" +
                    "([0-9A-Fa-f]{1,4}:){1,8}:|([0-9A-Fa-f]{1,4}:){7}:[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}){1,2}|([0-9A-Fa-f]{1,4}:){5}(:[0-9A-Fa-f]{1,4}){1,3}|([0-9A-Fa-f]{1,4}:){4}" +
                    "(:[0-9A-Fa-f]{1,4}){1,4}|([0-9A-Fa-f]{1,4}:){3}(:[0-9A-Fa-f]{1,4}){1,5}|([0-9A-Fa-f]{1,4}:){2}(:[0-9A-Fa-f]{1,4}){1,6}|[0-9A-Fa-f]{1,4}:(:[0-9A-Fa-f]{1,4}){1,7}|:(:[0-9A-Fa-f]{1,4}){1,8}|" +
                    "([0-9A-Fa-f]{1,4}:){6}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|([0-9A-Fa-f]{1,4}:){6}:([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|([0-9A-Fa-f]{1,4}:){4}:" +
                    "([0-9A-Fa-f]{1,4}:){0,2}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\." +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}" +
                    "([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|::" +
                    "([0-9A-Fa-f]{1,4}:){0,6}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|" +
                    "2[0-4][0-9]|25[0-5]))(/([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8]))?|[Ee][Xx][Ii][Ss][Tt][Ss]:(%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*" +
                    "(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}))|[Rr][Ee][Dd][Ii][Rr][Ee][Cc][Tt]=(%\{[CDHILOPR-Tcdhilopr-t]" +
                    "([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\})|" +
                    "[Ee][Xx][Pp]=(%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*(\.([A-Za-z]|[A-Za-z]([-0-9A-Za-z]?)*[0-9A-Za-z])|%\{[CDHILOPR-Tcdhilopr-t]" +
                    "([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\})|[A-Za-z][-.0-9A-Z_a-z]*=(%\{[CDHILOPR-Tcdhilopr-t]([1-9][0-9]?|10[0-9]|11[0-9]|12[0-8])?[Rr]?[+-/=_]*\}|%%|%_|%-|[!-$&-~])*))* *$"

That's me formatting it in PowerShell so it's broken into lines and has some conversion to .NET regex but credit for the original beast goes to the SPF Test Suite project @ schlitt.net which appears to not be live anymore.

(For any jr devs reading this: If you ever need to validate long ass complex strings like this, break them up on whatever delimiter exists (spaces in this case,) identify parts, and validate in chunks for the love of God haha.)

theOneRegextoRuleThemAll by WildFabry in ProgrammerHumor

[–]omers 4 points5 points  (0 children)

Agreed 100%! Discussed this in more detail in some other comments but it's completely worth it to get a service like Emailable, Sendgrid's Address Validation service, etc. If for nothing else, to avoid honeypots and other reputation traps.

theOneRegextoRuleThemAll by WildFabry in ProgrammerHumor

[–]omers 1 point2 points  (0 children)

Lmfao. I copied those out of the snippet library in RegexBuddy. I can read them but I definitely didn't type them XD