The reply in my post states that pattern "*@he.com" is not a "correct regexp". Actually, it is not a regex at all, rather wildcard, things like:
find . -iname ".gi*"
The above example in Regex would be
find . -iname "\.gi.*"
Questions about Regex and Wildcards
- How can I use only Regex instead of wildcards?
- Where do you really need wildcards and globbing if you can use Regex?
Have Regexes evolved from wildcards or vice versa?
Does the citation mean "Regex is the language, while wildcards are alphabets"?
Regular expressions
In many regular expression implementations, the period (.) is the wildcard character for a single character. (Source)