perl regexp - ghdrako/doc_snipets GitHub Wiki


tags:

  • perl
  • scripting

Perl regexp

$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** ⚠️