Added regex for improved cipher detection