in reply to Perl regex txt file new line (not recognised?)
this works for me
use strict; use warnings; while (<DATA>) { print if /\.$/; } __DATA__ Inventories Trade receivables Assets This item includes impairment losses.
-->
This item includes impairment losses.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl regex txt file new line (not recognised?)
by thurinus (Initiate) on Jan 21, 2020 at 15:52 UTC | |
by LanX (Saint) on Jan 21, 2020 at 16:02 UTC | |
by LanX (Saint) on Jan 21, 2020 at 15:57 UTC | |
by BillKSmith (Monsignor) on Jan 21, 2020 at 20:41 UTC |