Quantcast
Channel: Programming Archives - SysTutorials
Viewing all articles
Browse latest Browse all 130

How to Match Multiple Lines using Regex in Perl One-liners

$
0
0

Perl one-liners with perl’s regular expression statement can be a very powerful text processing tools used as commands in a terminal or a script. By default, the input to the perl one-liner with -p or -n options is passed line by line. However, when we want to match multiple lines, it gets us some trouble. […]

The post How to Match Multiple Lines using Regex in Perl One-liners is from SysTutorials.


Viewing all articles
Browse latest Browse all 130

Latest Images

Trending Articles



Latest Images