in reply to Re: RegEx - comments should not matches
in thread RegEx - comments should not matches
#!/usr/local/bin/perl -w while (<DATA>) { if ( $_ !~ m{^/[*/]} ) { print $_; } } __DATA__ doApply() // doNotApply() /* doWhatEver() */ Test4()
huxl:~>./tst.pl doApply() doWhatEver() */ Test4()
|
|---|