tokenize buffer on label checks to detect symbols

Signed-off-by: James Rubingh <james@wrive.com>