in reply to •Re: matching single-quoted-like strings (q{}, q//)
in thread matching single-quoted-like strings (q{}, q//)
.. but it doesn't work like this, looks like, as you said, more configuration is to be done. :(#!/usr/bin/perl -Twl use strict; use Text::Balanced qw(extract_quotelike); { local undef $/; my $string = <DATA>; my ($extracted, $remainder) = extract_quotelike($string); print $extracted; }
|
|---|