add DKRegex class
add comment
fix integer cast
bump version to 0.7.1