Changeset 1440:df295e837621
- Timestamp:
- 2000-01-18 14:17:45 (9 years ago)
- Author:
- Thomas Roessler <roessler@…>
- Branch:
- HEAD
- Message:
-
Documentation fix about gecos_mask. From Will Fiveash.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1423
|
r1440
|
|
| 91 | 91 | /* Use regular expression to parse Gecos field. This result of the |
| 92 | 92 | * parsing will be used as the personal ID string when the alias is |
| 93 | | * expaned. |
| | 93 | * expanded. |
| 94 | 94 | */ |
| 95 | 95 | if (regexec (GecosMask.rx, pw->pw_gecos, 1, pat_match, 0) == 0) |
-
|
r1424
|
r1440
|
|
| 549 | 549 | ** to "^[^,]*" which will return the string up to the first "," encountered. |
| 550 | 550 | ** If the GECOS field contains a string like "lastname, firstname" then you |
| 551 | | ** should set the gecos_regexp=".*". |
| | 551 | ** should set the gecos_mask=".*". |
| | 552 | ** .pp |
| | 553 | ** This can be useful if you see the following behavior: you address a e-mail |
| | 554 | ** to user ID stevef whose full name is Steve Franklin. If mutt expands |
| | 555 | ** stevef to "Franklin" stevef@foo.bar then you should set the gecos_mask to |
| | 556 | ** a regular expression that will match the whole name so mutt will expand |
| | 557 | ** "Franklin" to "Franklin, Steve". |
| 552 | 558 | */ |
| 553 | 559 | { "hdr_format", DT_SYN, R_NONE, UL "index_format", 0 }, |