Regular expression question

line !~ /\(^#\)\|\(^[\s\t]*$\)/

I think you just need to use ( not (, I suppose it should be

line !~ /^#|^\s*$/

if you don’t need to reference I think no () is needed. And \s should
include whitespace and \t?

Shannon

···

Protect your PC - get McAfee.com VirusScan Online
Antivirus, VPN, Identity & Privacy Protection | McAfee