added regex ast parser