ProIT
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
VegOwOtenks@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months ago

Regex flavors

lemmy.world

external-link
message-square
33
link
fedilink
401
external-link

Regex flavors

lemmy.world

VegOwOtenks@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months ago
message-square
33
link
fedilink
  • whodatdair@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    45
    ·
    10 months ago

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

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

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

      • qaz@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

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

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

          which is just perl mode

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

            Yes, but perl mode has more features.

    • kubica@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

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

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

      any idea what the re in grep stands for?

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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]

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.
Visibility: Public
globe

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

  • 227 users / day
  • 815 users / week
  • 1.81K users / month
  • 10.4K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.71K Posts
  • 38K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org