Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
china🇨🇳 to [email protected]English • 1 year ago

last time when did you use Regular Expressions?

message-square
34
fedilink
28
message-square

last time when did you use Regular Expressions?

china🇨🇳 to [email protected]English • 1 year ago
message-square
34
fedilink
  • @[email protected]
    link
    fedilink
    7•1 year ago

    Yesterday, for capturing URLs.

    • china🇨🇳OP
      link
      fedilink
      3•1 year ago

      https?//[a-zA-Z0-9_-]*

      I am kinda learning RE right now 😅

      • @[email protected]
        link
        fedilink
        4•1 year ago

        What about ftp? 🤔

        • china🇨🇳OP
          link
          fedilink
          2•1 year ago

          If we want to include every protocol then the RE could be complex.

          • lad
            link
            fedilink
            English
            1•1 year ago

            Depending on the use-case it maybe should. On the other hand, some things are better left to library implementations rather than custom regex, e.g. email validation

[email protected]

[email protected]
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 the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



  • 42 users / day
  • 198 users / week
  • 492 users / month
  • 1.79K users / 6 months
  • 3 subscribers
  • 2.37K Posts
  • 35.5K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org