Updated Pattern for IF and WHILE Statements

Signed-off-by: Benjamin <benchisa@gmail.com>