programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Tyfon to Programmer Humor · 2 years ago

My VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥

message-square
12
link
fedilink
103

My VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥

Tyfon to Programmer Humor · 2 years ago
message-square
12
link
fedilink
  • Psycobob
    link
    fedilink
    arrow-up
    23
    ·
    2 years ago

    It looks like you tried to parse html using a regex.

    For reference: https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags#1732454

    • MinekPo1 [it/she]@lemmygrad.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I’m think the answer there does not apply to the PHP version of regex though I’m not entirely sure

    • MonkderZweite@feddit.ch
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      It works better if you remove linebreaks beforehand tho.

Programmer Humor

programmer_humor

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 634 users / day
  • 5.94K users / week
  • 9.76K users / month
  • 19.7K users / 6 months
  • 2.53K local subscribers
  • 26.9K subscribers
  • 1.81K Posts
  • 69.8K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org