Help for this page
use warnings; use strict; ... for (@strings){ say "yay!" if /(?:\bAlice\b|\bBob\b|\bChris\b)/; }
/ (?: # group, but don't capture ... \bChris\b # same as Alice and Bob ) # end grouping /