support regex fields in examples.txt