extra regexp functionality