Bash regex help

view story

http://www.unix.com – I've been using the following regex below in a bash script on RHEL 5.5 using version GNU bash, version 3.2.25(1)-release I've tried using the script on RHEL 6.3 which uses GNU bash, version 4.1.2(1)-release I assume there's been alot of changes to bash since that's quite a jump in revisions. I'm wondering if anyone can help me sort what might have to be modified in the code to make this work again. If I enter an e-mail address in a simple format like: [email protected] the scripts sees this as an invalid e-mail now, whereas before this would pass the regex. Code: #!/bin/bash echo (HowTos)