laziness, impatience, and hubris | |
PerlMonks |
Re: Regex with Backslashesby tybalt89 (Monsignor) |
on May 17, 2020 at 17:02 UTC ( [id://11116865]=note: print w/replies, xml ) | Need Help?? |
Your problem is confusing single quotes and double quotes.
has only one backslash before the comma and therefor should *not* split there. is correct and should not split at the '\\,' (which is exactly equal to '\,') I'd recommend you play around with single quotes and backslashes to understand how they work.
In Section
Seekers of Perl Wisdom
|
|