Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Mac@programming.dev to RegEx@programming.dev · 2 years ago

Why do regexes use $ and ^ as line anchors?

buttondown.email

external-link
message-square
3
link
fedilink
35
external-link

Why do regexes use $ and ^ as line anchors?

buttondown.email

Mac@programming.dev to RegEx@programming.dev · 2 years ago
message-square
3
link
fedilink
A history that will satisfy nobody.
alert-triangle
You must log in or # to comment.
  • SpaceNoodle@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    tl;dr “I dunno, maybe they just used those keys”

  • NostraDavid@programming.devBanned
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Why not ask Ken himself?

  • SubArcticTundra@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Fair enough

RegEx@programming.dev

regex@programming.dev

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: !regex@programming.dev

Welcome to the RegEx community! This is a place where you can learn about and get help with regular expressions

A regular expression is a sequence of characters that specifies a match pattern in text. Theyre usually used for find, or find and replace operations on strings, or for input validation.


Visibility: Public
globe

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

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 2 local subscribers
  • 410 subscribers
  • 15 Posts
  • 29 Comments
  • Modlog
  • mods:
  • recursive_recursion [they/them]@programming.dev
  • VonTum@programming.dev
  • BE: 0.19.16
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org