Eti*_*gau 2 regex perl
我想将这两个正则表达式合二为一 next if $line =~ /^#/ or $line =~ /^\d+\-\d+/;
next if $line =~ /^#/ or $line =~ /^\d+\-\d+/;
cho*_*oba 9
“或”很简单:使用交替|:
|
next if $line =~ /^#|^\d+-\d+/
你甚至可以考虑^:
^
/^(?:#|\d+-\d+)/
归档时间:
4 年,9 月 前
查看次数:
86 次
最近记录: