=pod
WC -Sx- Jones wrote:

Do you want:

xHxx yy z t
x xxHyy z t

as a solution set?

Or just those substrings which begin and end with HDK?


An example -

=cut

$_ = 'supercalifragilisticexpialidocious';
# Find      ali  agili       iali

print m/i?[la].*?i/g;

# Result (one string): aliagiliiali

__END__
-Sx-

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to