Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected]M to Science [email protected]English • 2 years ago

gatekeeping

mander.xyz

message-square
100
fedilink
940

gatekeeping

mander.xyz

@[email protected]M to Science [email protected]English • 2 years ago
message-square
100
fedilink
  • @[email protected]
    link
    fedilink
    English
    20•
    edit-2
    2 years ago

    [0-9]*\.?[0-9]*

    edit: ok no empty strings [0-9]+\.?[0-9]*

    • @[email protected]
      link
      fedilink
      English
      3•2 years ago

      well sure, if you want to be fancy. i was speaking in layman terms for the rest of the world.

      regex for the win.

    • @[email protected]
      link
      fedilink
      English
      1•2 years ago

      What about imaginary numbers?

      • @[email protected]
        link
        fedilink
        English
        2•2 years ago

        [0-9]+\.?[0-9]*[ij]?

        I’m not making one for mixed numbers

    • @[email protected]
      link
      fedilink
      English
      8•2 years ago

      That regex implies “” is a number

      • @[email protected]
        link
        fedilink
        English
        21•2 years ago

        If I had a nickel for every time that happened I’d have “” nickels.

    • @[email protected]
      link
      fedilink
      English
      5•
      edit-2
      1 year ago

      deleted by creator

      • @[email protected]
        link
        fedilink
        English
        1•2 years ago

        I don’t quite understand yours, why does it need parentheses? And requires the decimal point?

        how about [0-9]+\.?[0-9]*

        • @[email protected]
          link
          fedilink
          English
          4•
          edit-2
          1 year ago

          deleted by creator

          • @[email protected]
            link
            fedilink
            English
            1•2 years ago

            Your regex matches (for example) ‘5.’ as a number

            Yeah that’s on purpose. That’s often used in sciences to mark significant digits.

            The thing I’m confused by in yours is you’re escaping the parenthesis, so there need to be literal parenthesis in the matching number, or that’s what it showed in the regex checker.

            • @[email protected]
              link
              fedilink
              English
              1•
              edit-2
              1 year ago

              deleted by creator

    • @[email protected]
      link
      fedilink
      English
      3•2 years ago

      yeah but by Cantor’s diagonal argument, you still wouldn’t be listing all the real numbers

Science [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 c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don’t throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

  • [email protected]

Other Mander Communities

Science and Research

  • [email protected]
  • [email protected]
  • [email protected]

Biology and Life Sciences

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • !reptiles and [email protected]

Physical Sciences

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Humanities and Social Sciences

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Practical and Applied Sciences

  • !exercise-and [email protected]
  • [email protected]
  • !self [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Memes

  • [email protected]
  • [email protected]

Miscellaneous

  • [email protected]
  • [email protected]
  • 69 users / day
  • 534 users / week
  • 2.09K users / month
  • 6.08K users / 6 months
  • 3 subscribers
  • 4.83K Posts
  • 122K Comments
  • Modlog
  • mods:
  • Salamander
  • @[email protected]
  • SciBot
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org