m/\b(for\()/PS: you can drop the parentheses if you don't want to extract anything and only want to test for matches.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re^3: RegEx Beginning of line or whitespace match
by CountZero
in thread RegEx Beginning of line or whitespace match
by THRAK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |