encyclopegia.org

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

  1. 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 · retrieved 2026-11-20 · rev 1354851630
    Cite this reference

    MLA "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." Wu, Sun; Manber, Udi (20–24 January 1992). 2026-11-20. https://en.wikipedia.org/wiki/CiteSeerX_(identifier). Accessed 24 November 2026.

    Chicago "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." Wu, Sun; Manber, Udi (20–24 January 1992). 2026-11-20. https://en.wikipedia.org/wiki/CiteSeerX_(identifier).

    APA Wu, Sun; Manber, Udi (20–24 January 1992). (2026). 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. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/CiteSeerX_(identifier)

  2. WebGlimpse, Glimpse and also AGREP license since 18.09.2014 ( ISC License ). Wikipedia revision 1354851630, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1354851630
    Cite this reference

    MLA "WebGlimpse, Glimpse and also AGREP license since 18.09.2014 ( ISC License ). Wikipedia revision 1354851630, retrieved 2026-11-21." WebGlimpse, Glimpse and also AGREP license since 18. 2026-11-20. http://webglimpse.net/sublicensing/licensing.html. Accessed 24 November 2026.

    Chicago "WebGlimpse, Glimpse and also AGREP license since 18.09.2014 ( ISC License ). Wikipedia revision 1354851630, retrieved 2026-11-21." WebGlimpse, Glimpse and also AGREP license since 18. 2026-11-20. http://webglimpse.net/sublicensing/licensing.html.

    APA WebGlimpse, Glimpse and also AGREP license since 18. (2026). WebGlimpse, Glimpse and also AGREP license since 18.09.2014 ( ISC License ). Wikipedia revision 1354851630, retrieved 2026-11-21. Retrieved November 24, 2026, from http://webglimpse.net/sublicensing/licensing.html

  3. TRE - TRE regexp matching package - Features · retrieved 2026-11-20 · rev 1354851630
    Cite this reference

    MLA "TRE - TRE regexp matching package - Features." 2026-11-20. http://laurikari.net/tre/about. Accessed 24 November 2026.

    Chicago "TRE - TRE regexp matching package - Features." 2026-11-20. http://laurikari.net/tre/about.

    APA encyclopegia.org. (2026). TRE - TRE regexp matching package - Features. Retrieved November 24, 2026, from http://laurikari.net/tre/about

  4. FREJ - Fuzzy Regular Expressions for Java - Guide and Examples · retrieved 2026-11-20 · rev 1354851630
    Cite this reference

    MLA "FREJ - Fuzzy Regular Expressions for Java - Guide and Examples." 2026-11-20. http://frej.sf.net/rules.html. Accessed 24 November 2026.

    Chicago "FREJ - Fuzzy Regular Expressions for Java - Guide and Examples." 2026-11-20. http://frej.sf.net/rules.html.

    APA encyclopegia.org. (2026). FREJ - Fuzzy Regular Expressions for Java - Guide and Examples. Retrieved November 24, 2026, from http://frej.sf.net/rules.html

  5. [http://webglimpse.net/sublicensing/licensing.html WebGlimpse, Glimpse and also AGREP license] since 18.09.2014 ([http://opensource.org/licenses/ISC ISC License]) . · retrieved 2026-05-17 · rev 1354851630
    Cite this reference

    MLA "[http://webglimpse.net/sublicensing/licensing.html WebGlimpse, Glimpse and also AGREP license] since 18.09.2014 ([http://opensource.org/licenses/ISC ISC License]) ." http://webglimpse. 2026-05-17. https://en.wikipedia.org/w/index.php?oldid=1354851630. Accessed 24 November 2026.

    Chicago "[http://webglimpse.net/sublicensing/licensing.html WebGlimpse, Glimpse and also AGREP license] since 18.09.2014 ([http://opensource.org/licenses/ISC ISC License]) ." http://webglimpse. 2026-05-17. https://en.wikipedia.org/w/index.php?oldid=1354851630.

    APA http://webglimpse. (2026). [http://webglimpse.net/sublicensing/licensing.html WebGlimpse, Glimpse and also AGREP license] since 18.09.2014 ([http://opensource.org/licenses/ISC ISC License]) . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1354851630

  6. TRE - TRE regexp matching package - Features . · retrieved 2026-05-17 · rev 1354851630
    Cite this reference

    MLA "TRE - TRE regexp matching package - Features ." 2026-05-17. https://en.wikipedia.org/w/index.php?oldid=1354851630. Accessed 24 November 2026.

    Chicago "TRE - TRE regexp matching package - Features ." 2026-05-17. https://en.wikipedia.org/w/index.php?oldid=1354851630.

    APA encyclopegia.org. (2026). TRE - TRE regexp matching package - Features . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1354851630

  7. FREJ - Fuzzy Regular Expressions for Java - Guide and Examples . · retrieved 2026-05-17 · rev 1354851630
    Cite this reference

    MLA "FREJ - Fuzzy Regular Expressions for Java - Guide and Examples ." 2026-05-17. https://en.wikipedia.org/w/index.php?oldid=1354851630. Accessed 24 November 2026.

    Chicago "FREJ - Fuzzy Regular Expressions for Java - Guide and Examples ." 2026-05-17. https://en.wikipedia.org/w/index.php?oldid=1354851630.

    APA encyclopegia.org. (2026). FREJ - Fuzzy Regular Expressions for Java - Guide and Examples . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1354851630

Cite this article

MLA

"Agrep." encyclopegia.org, 2026, https://encyclopegia.org/wiki/agrep. Accessed 24 November 2026.

Chicago

"Agrep." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/agrep.

APA

encyclopegia.org. (2026). Agrep. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/agrep

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1354851630 · 0.5 · snapshot enwiki-001354851630

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.