the original said reggae but i misread it as regex and got this idea lol

original comic artist: thisstupidtwink@insta

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 month ago* (2 children)

What you call delimiter is part of sed, Ruby or Perl syntax, right? In Python, Regex strings are usually delimited r" " (r for raw: don't process special characters)

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 1 month ago

    Usually regex by it self is shown with / delimiter. Using it on code is language-specific. On rust you normally use r#"<regex>"#, on javascript you can just /<regex>/, but that's just the language's definition, not regex.

  • source
  • parent