| Post Reply | RetroFed Forums Forum Index » Perl |
| Author | Message | ||
|---|---|---|---|
|
umbraklat lemmy.sdf.org dark776174657273@lemmy.sdf.org Joined: 2023-06-20 |
I was recently reading through Perl Regular Expression Tutorial (perlretut) when I found the section on using the 'r' option. I'd seen this before but rarely had any reason to use it. Then it occurred to me that you could chain these together. I've been programming Perl for 30+ years and don't think I've ever seen this before. Here's an example that shows how I would usually do this, i.e. a series of
Output:
Anyways, I had to tell someone ... |
||
| 1 Original | |||
| Post Reply | Page 1 |