The regular expression is supposed to take in a multiline string and strip out any tabs found in the string using this regular expression
as i understand it tr transposes the first chunk to the second chunk in this case \t (tab) to nothing. and sm will process the string as a multiline string.$actionData =~ tr/\t//sm;
Thanks in advance
Karledited by ybiC: retitle from "Problematic regular expression"
In reply to Strip tabs from multi-line string by klattimer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |