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)
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.
What you call delimiter is part of
sed, Ruby or Perl syntax, right? In Python, Regex strings are usually delimitedr" "(rfor raw: don’t process special characters)Usually regex by it self is shown with
/delimiter. Using it on code is language-specific. On rust you normally user#"<regex>"#, on javascript you can just/<regex>/, but that’s just the language’s definition, not regex.