Added synchronous mode
adding negative look ahead example in unit test
Merge branch 'master' into timeout