add shell style regex matching
add assert