in reply to Re: Printing out matches for two regular expressions
in thread Printing out matches for two regular expressions
Brilliant! Thank you very much for your help!
Also thanks for your tip about setting $/ to a space. In an earlier version of the script, I was trying to just locate multiple numbers across several lines; setting $/ to a space stopped the script from only printing the first number on each line. However, I realise now that it is inappropriate for the current task. Thanks again!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Printing out matches for two regular expressions
by AnomalousMonk (Archbishop) on Oct 22, 2017 at 14:50 UTC | |
by Maire (Scribe) on Oct 23, 2017 at 06:40 UTC |