programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Tyfon to Programmer Humor · 1 year 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 · 1 year ago
message-square
12
link
fedilink
  • Psycobob
    link
    fedilink
    arrow-up
    23
    ·
    1 year 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

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

      It works better if you remove linebreaks beforehand tho.

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

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

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.

  • 1.01K users / day
  • 5.05K users / week
  • 10.3K users / month
  • 19.5K users / 6 months
  • 2.42K local subscribers
  • 24.2K subscribers
  • 1.48K Posts
  • 56K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org