Changeset View
Changeset View
Standalone View
Standalone View
g10/trustdb.c
Context not available. | |||||
/* There are basically two commonly-used regexps here. GPG and most | /* There are basically two commonly-used regexps here. GPG and most | ||||
versions of PGP use "<[^>]+[@.]example\.com>$" and PGP (9) | versions of PGP use "<[^>]+[@.]example\.com>$" and PGP (9) | ||||
command line uses "example.com" (i.e. whatever the user specfies, | command line uses "example.com" (i.e. whatever the user specifies, | ||||
and we can't expect users know to use "\." instead of "."). So | and we can't expect users know to use "\." instead of "."). So | ||||
here are the rules: we're allowed to start with "<[^>]+[@.]" and | here are the rules: we're allowed to start with "<[^>]+[@.]" and | ||||
end with ">$" or start and end with nothing. In between, the | end with ">$" or start and end with nothing. In between, the | ||||
Context not available. |