Just a thought@lines = (' #', 'nope', '# yep', 'oops #'); foreach(@lines) { print "yahoo! $_\n" if (/^\s*#/); }
In reply to Re: Regex to check for beginning character
by UnderMine
in thread Regex to check for beginning character
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |