$re = '[spectal]{9}'; $data =~ m/$re/o; # match() # regcomp() # Compile the expression and remove this step # regcreset