86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
VegOwOtenks@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years ago

Regex flavors

lemmy.world

message-square
32
fedilink
395

Regex flavors

lemmy.world

VegOwOtenks@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
32
fedilink
  • whodatdair@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    45
    ·
    2 years ago

    Blasphemy, that’s not regex that’s just fancy grep

    • VegOwOtenks@lemmy.worldOP
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      2 years ago

      I don’t actually know whether POSIX grep would support named groups :o

      • qaz@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Don’t have you have to use the -P flag?

        • OmnislashIsACloudApp@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          which is just perl mode

          • qaz@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            Yes, but perl mode has more features.

    • kubica@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      I don’t fully disagree but you are walking on a fine line…

    • PotatoesFall@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      any idea what the re in grep stands for?

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

remote_follow_modal_title

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
community_visibility: public
globe

public_blurb

  • 19 users / day
  • 328 users / week
  • 2.03K users / month
  • 6.87K users / 6 months
  • number_of_local_subscribers
  • 40K subscribers
  • 1.94K Posts
  • 40K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org