perl regexp - ghdrako/doc_snipets GitHub Wiki

$foo =~ m/abc/
$foo =~ m<abc>
$foo =~ m'abc'
$foo =~ m/this|that/
$foo =~ m/this\|that/  #  prefixing the "|" to treat it as ordinary sign
⚠️ **GitHub.com Fallback** ⚠️