Thread regexp will nicht so recht... (3 answers)
Opened by tsy at 2008-07-17 16:08

moritz
 2008-07-17 16:21
#112250 #112250
User since
2007-05-11
923 Artikel
HausmeisterIn
[Homepage]
user image
Bei mir geht das:

Code: (dl )
1
2
3
4
5
$_ = q{print "foo"};
s/(print)\s*("\w+")/\$lang->$1($2, \$currentUser->lang() )/g;
print $_, $/;
__END__
$lang->print("foo", $currentUser->lang() )

View full thread regexp will nicht so recht...