Regular expression for C if statementch
What is the regular expression for a C if statement? I am trying this Perl code, but it does not match: if ( $line !~ /^if \(.\) \{/) { I expect it to match this C code: if ( a ==b ) {
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.