fixed pool_regexp_extract to match \n