I’m a guy on the internet. Nothing to see here.

  • 0 Posts
  • 2 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • GooeyGlob@lemmy.worldtoLinux@lemmy.mlIf you create a man page
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    17 hours ago

    It depends on how the document is written, but \> stops matching on a period, comma, apostrophe, space, newline, what have you. Word boundary matching is just very handy.

    As to why its that set of characters… Honestly I have no idea :) Regexes are just what they are and I assume the special escape made sense to the inventor at least.