basic skeleton of regexp traits
use nda to match string