|
2001-04-16
| ||
| 20:33 | • Closed ticket [218475ffff]: add new options -dictionary or -nocase to lsearch</i... artifact: fd143da605 user: dgp | |
| 20:33 | • Open ticket [218475ffff]. artifact: d643d4759a user: dgp | |
|
2000-10-26
| ||
| 08:22 | • Closed ticket [218475ffff]. artifact: 721a31708b user: welch | |
| 01:01 | • New ticket [218475ffff]. artifact: 6521e9b29c user: nobody | |
add new options -dictionary or -nocase to lsearch
Closed / Fixed218475ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:01:01
OriginalBugID: 662 RFE
Version: 8.0p2
SubmitDate: '1998-05-25'
LastModified: '1999-09-01'
Severity: LOW
Status: Released
Submitter: hershey
ChangedBy: hobbs
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-09-01'
FixedInVersion: 8.1
ClosedDate: '2000-10-25'
2301a2302,2303
> #define DICTIONARY 3
> #define NOCASE 4
2306c2308
< {"-exact", "-glob", "-regexp", (char *) NULL};
---
> {"-exact", "-glob", "-regexp", "-dictionary", "-nocase", (char *) NULL};
2355a2358,2365
> break;
> case DICTIONARY:
> case NOCASE:
> #if _WINDOWS
> match = strnicmp (bytes, patternBytes, length) == 0;
> #else
> match = strncasecmp (bytes, patternBytes, length) == 0;
> #endif
lsort has a -dictionary option, and with 8.1 and -regexp, you
can use the embedded option (?i) to specify case insensitive
comparisons.
-- 09/01/1999 hobbs
welch Closed ticket [218475ffff].
[History diff]2000-10-26 08:22:18
dgp Open ticket [218475ffff].
[History diff]2001-04-16 20:33:14
dgp Closed ticket [218475ffff].
[History diff]2001-04-16 20:33:35
Log in (anonymous is fine) to add a comment.