blob: 88dac06e792ed5d4baa3e17850ced16f399db8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!./perl
$foo = <<EOF;
Subject: foobar
From: baz
EOF
$* = 1;
$pat = '^([*+&!]*)(Subject:)';
#$pat =~ s/([a-zA-Z])/[\u$1\l$1]/g;
#print $pat;
$foo =~ /$pat/ig;
print $', "\n";
|