Implement simple regex test