Added nul char handling in lookahead matcher.