split pattern and documentation