good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: What is the meaning of this line in Perl on linux?by LanX (Saint) |
on Mar 28, 2022 at 09:31 UTC ( [id://11142458]=note: print w/replies, xml ) | Need Help?? |
> to avoid LTS I learned the term slasheritis in (emacs) lisp, which doesn't know raw strings. So since all regexes are strings you have to type \\\\ to escape a single backslash from two levels of interpretation. That's even worse than in Perl. The discussion of other programming languages in this WP page looks incomplete to me, because it doesn't always handle the question how to escape the delimiter of a raw string. Like this Ruby code > 'C:\Foo\Bar.txt' won't have any possibility to escape the ' , because \ isn't meta anymore. While Go discussed this limitation > there is no escape code for a backtick in a raw string.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|