
Originally Posted by
jeronimo
What do you call "standard"? How would you define *.example.com without a regex?
I see you mean this: https://sc1.checkpoint.com/documents...17.htm#o101841
The meaning of the asterisk ( * ) depends on its use.
In regular expressions, the asterisk is a metacharacter for zero or more instances of the preceding character.
Without regular expressions, the asterisk is a wildcard, for zero or more instances of any character.
They also suggest:
More examples of regular expressions:
To match subdomains of mydomain.com: (^|.*\.)mydomain\.com
To match domain and subdomains of mydomain.com: (^|.*\.)*mydomain\.com
Well usually that would also match mydomain.com.bla, not sure if they are putting implicit anchors around this...
Bookmarks