change K. handling
add preg_capture option