add possibility to create new attachment list
escape string before regex pattern match
fix img parse pattern
add several tests