Agrep
agrep (approximate grep) is an open-source approximate string matching program, developed by Udi Manber and Sun Wu between 1988 and 1991, for use with the Unix operating system. It was ported to OS/2, MS-DOS, and Windows. It selects the best-suited algorithm for the current query from a multiple built-in string searching algorithms, including Manber and Wu's bitap algorithm based on Levenshtein distances. agrep is also the search engine in the indexer program GLIMPSE. agrep is under a free ISC License.
agrep (approximate grep) is an open-source approximate string matching program, developed by Udi Manber and Sun Wu between 1988 and 1991, for use with the Unix operating system. It was ported to OS/2, MS-DOS, and Windows. It selects the best-suited algorithm for the current query from a multiple built-in string searching algorithms, including Manber and Wu's bitap algorithm based on Levenshtein distances. agrep is also the search engine in the indexer program GLIMPSE. agrep is under a free ISC License. ==Alternative implementations== A more recent agrep is the command-line tool provided with the TRE regular expression library. TRE agrep is more powerful than Wu-Manber agrep since it allows weights and total costs to be assigned separately to individual groups in the pattern. It can also handle Unicode. Unlike Wu-Manber agrep, TRE agrep is licensed under a 2-clause BSD-like license. FREJ (Fuzzy Regular Expressions for Java) open-source library provides command-line interface which could be used in the way similar to agrep. Unlike agrep or TRE it could be used for constructing complex substitutions for matched text. However its syntax and matching abilities differs significantly from ones of ordinary regular expressions. ==See also== Bitap algorithm TRE (computing) ==References== ==External links== Wu-Manber agrep AGREP home page For Unix (To compile under OSX 10.8, add -Wno-return-type to the CFLAGs = -O line in the Makefile) See also TRE regexp matching package cgrep a defunct command line approximate string matching tool nrgrep a command line approximate string matching tool agrep as implemented in R
References
- ^ Wu, Sun; Manber, Udi (20–24 January 1992). Agrep -- a fast approximate pattern-matching tool . 1992 Winter USENIX Conference. San Francisco, California. CiteSeerX 10.1.1.89.5424 . {{ cite conference }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1354851630, retrieved 2026-11-21 · 1795215600.0
- ^ WebGlimpse, Glimpse and also AGREP license since 18.09.2014 ( ISC License ). Wikipedia revision 1354851630, retrieved 2026-11-21 · 1795215600.0
- ^ "TRE - TRE regexp matching package - Features" . Wikipedia revision 1354851630, retrieved 2026-11-21 · 1795215600.0
- ^ "FREJ - Fuzzy Regular Expressions for Java - Guide and Examples" . Wikipedia revision 1354851630, retrieved 2026-11-21 · 1795215600.0
- [http://webglimpse.net/sublicensing/licensing.html WebGlimpse, Glimpse and also AGREP license] since 18.09.2014 ([http://opensource.org/licenses/ISC ISC License]) . · 1779058800.0
- TRE - TRE regexp matching package - Features . · 1779058800.0
- FREJ - Fuzzy Regular Expressions for Java - Guide and Examples . · 1779058800.0
Cite this
"Agrep". 1779113246. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1354851630